XML 87 R9.htm IDEA: XBRL DOCUMENT v3.20.2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Oct. 31, 2020
Oct. 26, 2019
Operating activities    
Net income $ 12,115 $ 24,604
Adjustments to reconcile net income from continuing operations to cash provided by operating activities from continuing operations:    
Depreciation and amortization 5,693 4,486
Losses from equity method investments 10,810 2,210
Realized gain from sale of available-for-sale investments (11)  
Provision for doubtful accounts (156) 14
Other non-cash (income) expense (473) 81
Non-cash lease expense (income) 2,393 2,255
Loss on foreign currency transactions 2 1
Deferred income taxes (621) (669)
Stock-based compensation 3,509 2,984
Loss (gain) on sale of property and equipment 2 (75)
Amortization of debt securities (12) (984)
Changes in operating assets and liabilities, net of acquisitions:    
Accounts receivable 43,115 (9,400)
Unbilled receivables and retentions 5,264 (9,350)
Inventories (6,244) 1,621
Income tax receivable   821
Prepaid expenses and other assets (1,029) (1,051)
Accounts payable (5,028) (5,046)
Other liabilities (10,736) (4,583)
Net cash provided by operating activities 58,593 7,919
Investing activities    
Acquisition of property and equipment (6,052) (6,850)
Equity method investments (1,173) (4,569)
Business acquisition, net of cash acquired   (18,641)
Proceeds from sale of property and equipment   81
Redemptions of held-to-maturity investments   159,839
Purchases of held-to-maturity investments   (169,148)
Redemptions of available-for-sale investments 92,226  
Purchases of available-for-sale investments (116,945) (4,947)
Net cash provided by (used in) investing activities (31,944) (44,235)
Financing activities    
Tax withholding payment related to net settlement of equity awards (1,778) (743)
Exercise of stock options 86 93
Net cash used in financing activities from continuing operations (1,692) (650)
Net increase (decrease) in cash, cash equivalents, and restricted cash 24,957 (36,966)
Cash, cash equivalents, and restricted cash at beginning of period 255,142 172,708
Cash, cash equivalents, and restricted cash at end of period 280,099 135,742
Cash refunded (paid), net during the period for:    
Income taxes 2,364 518
Non-cash activities    
Unrealized loss on available-for-sale investments, net of deferred tax (expense) benefit of ($3) and $1 for the three and six months ended October 31, 2020, respectively 61  
Change in foreign currency translation adjustments 75 179
Acquisitions of property and equipment included in accounts payable $ 818 $ 761