XML 31 R9.htm IDEA: XBRL DOCUMENT v3.21.2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Apr. 30, 2021
Apr. 30, 2020
Apr. 30, 2019
Operating activities      
Net income $ 23,345 $ 41,070 $ 47,419
Loss (gain) on sale of business, net of tax   265 (8,490)
Loss from discontinued operations, net of tax     2,964
Net income from continuing operations 23,345 41,335 41,893
Adjustments to reconcile net income from continuing operations to cash provided by operating activities from continuing operations:      
Depreciation and amortization 19,262 9,888 7,669
Losses from equity method investments, net 10,481 5,487 3,944
Amortization of debt issuance costs 145    
Realized gain from sale of available-for-sale investments (11) (180)  
Impairment of long-lived assets     4,398
Provision for doubtful accounts (114) 388 (39)
Other non-cash gain, net (449) (703)  
Non-cash lease expense 5,150 4,574  
Loss on foreign currency transactions 1 1 38
Deferred income taxes (1,694) 3,419 4,792
Stock-based compensation 6,932 6,227 6,985
Loss (gain) on sale of property and equipment 123 (71) 76
Amortization of debt securities 309 (1,423) (1,506)
Changes in operating assets and liabilities, net of acquisitions:      
Accounts receivable 17,177 (42,869) 25,821
Unbilled receivables and retentions 8,381 (22,790) (36,175)
Inventories (5,179) 8,855 (16,631)
Income tax receivable   821 (821)
Prepaid expenses and other assets (6,104) 831 (2,401)
Accounts payable 2,565 3,127 (7,054)
Other liabilities 6,212 8,180 (4,043)
Net cash provided by operating activities 86,532 25,097 26,946
Investing activities      
Acquisition of property and equipment (11,263) (11,220) (8,896)
Equity method investments (2,675) (14,498) (7,598)
Business acquisitions, net of cash acquired (385,614) (18,641)  
Proceeds from sale of business     31,994
Proceeds from sale of property and equipment   81  
Redemptions of held-to-maturity investments   185,917 260,918
Purchases of held-to-maturity investments   (176,757) (267,122)
Redemptions of available-for-sale investments 146,425 200,892 2,250
Purchases of available-for-sale investments (125,644) (106,607)  
Net cash (used in) provided by investing activities (378,771) 59,167 11,546
Financing activities      
Principal payments of capital lease obligations.     (161)
Payment of contingent consideration   (868)  
Tax withholding payment related to net settlement of equity awards (1,992) (1,062) (1,094)
Holdback and retention payments for business acquisition (1,492)    
Exercise of stock options 1,522 100 71
Payment of debt issuance costs (3,878)    
Proceeds from long-term debt 200,000    
Net cash used in financing activities 194,160 (1,830) (1,184)
Discontinued operations      
Operating activities of discontinued operations 0 0 (7,686)
Investing activities of discontinued operations 0 0 (431)
Net cash used in discontinued operations 0 0 (8,117)
Net (decrease) increase in cash, cash equivalents, and restricted cash (98,079) 82,434 29,191
Cash, cash equivalents and restricted cash at beginning of period 255,142 172,708 143,517
Cash, cash equivalents and restricted cash at end of period 157,063 255,142 172,708
Cash paid, net during the period for:      
Income taxes 2,405 532 6,780
Non-cash activities      
Unrealized (loss) gain on investments, net of deferred tax expense of $1, $14 and $51 for the fiscal years ended 2021, 2020 and 2019, respectively (60) 50 57
Issuance of common stock for business acquisition 72,384    
Change in foreign currency translation adjustments 75 276 (34)
Issuances of inventory to property and equipment, ISR in-service assets 769    
Acquisitions of property and equipment included in accounts payable $ 756 $ 1,425 $ 810