XML 22 R7.htm IDEA: XBRL DOCUMENT v3.19.2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2019
Jun. 30, 2018
Jun. 30, 2017
Cash flows from operating activities:      
Net loss $ (25,853) $ (46,792) $ (1,744)
Adjustments to reconcile net loss to net cash provided by provided by operating activities:      
Depreciation 26,889 23,471 10,618
Amortization of intangible assets 25,984 25,585 15,722
Provision for doubtful accounts 1,407 1,687 335
Stock-based compensation 32,897 27,633 12,633
Deferred income taxes (5,766) (4,677) 1,995
Non-cash restructuring and related charges     1,031
Unrealized/realized loss (gain) on equity investment 508 (3,967)  
Realized gain on bargain purchase   (5,030)  
Loss on extinguishment of debt   1,173  
Non-cash interest expense 3,022 4,060 513
Other 54 1,873 826
Changes in operating assets and liabilities, net of acquisitions      
Accounts receivable 36,331 (69,518) (13,951)
Inventories 278 17,343 7,413
Prepaid expenses and other assets (6,979) (8,014) 7,717
Accounts payable (9,850) 18,844 2,064
Accrued compensation and benefits 1,274 4,981 13,058
Deferred revenue 28,716 28,366 (4,677)
Other current and long-term liabilities (3,967) 2,025 5,730
Net cash provided by operating activities 104,945 19,043 59,283
Cash flows from investing activities:      
Capital expenditures (22,730) (40,411) (10,425)
Business acquisitions   (97,581) (51,088)
Deposits related to an acquisition     (10,239)
Proceeds from sale of investment 921 5,521  
Net cash used in investing activities (21,809) (132,471) (71,752)
Cash flows from financing activities:      
Borrowings under Revolving Facility   10,000  
Borrowings under Term Loan   290,000 48,250
Repayments of debt (19,875) (193,713) (10,038)
Loan fees on borrowings (545) (3,211) (1,326)
Repurchase of stock (15,000)    
Proceeds from issuance of common stock, net of tax withholding 11,484 3,341 11,822
Contingent consideration obligations (6,506) (671)  
Deferred payments on an acquisition (4,000) (1,000)  
Net cash (used in) provided by financing activities (34,442) 104,746 48,708
Foreign currency effect on cash (226) (629) 89
Net increase (decrease) in cash 48,468 (9,311) 36,328
Cash at beginning of period 121,139 130,450 94,122
Cash at end of period 169,607 121,139 130,450
Supplemental disclosure of cash flow information:      
Cash paid for interest 8,490 8,294 3,013
Cash paid for taxes, net 5,974 4,131 2,514
Non-cash investing activities:      
Unpaid capital expenditures $ 4,142 $ 5,323 $ 1,122