XML 17 R6.htm IDEA: XBRL DOCUMENT v3.10.0.1
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Dec. 31, 2018
Dec. 31, 2017
Cash flows from operating activities:    
Net loss $ (1,866) $ (27,547)
Adjustments to reconcile net loss to net cash (used in) provided by operating activities:    
Depreciation 13,476 8,093
Amortization of intangible assets 13,552 11,023
Provision for doubtful accounts 861 1,180
Stock-based compensation 15,525 11,828
Deferred income taxes (6,516) (2,135)
Unrealized/realized (gain) loss on equity investment 274 (3,757)
Realized gain on bargain purchase   (4,920)
Non-cash interest 1,532 510
Other non-cash items (344) 1,308
Changes in operating assets and liabilities, net of acquisitions    
Accounts receivable 66,568 (11,188)
Inventories 5,570 (449)
Prepaid expenses and other assets (12,390) 1,188
Accounts payable (40,050) 17,547
Accrued compensation and benefits (3,851) 3,734
Deferred revenue 11,568 4,446
Other current and long-term liabilities (2,298) 3,387
Net cash provided by operating activities 61,611 14,248
Cash flows from investing activities:    
Capital expenditures (11,140) (13,309)
Business acquisitions   (97,581)
Proceeds from sale of investment 727 4,922
Net cash used in investing activities (10,413) (105,968)
Cash flows from financing activities:    
Borrowings under Term Loan   100,000
Repayments of debt (14,750) (8,686)
Loan fees on borrowings (545) (1,494)
Repurchase of stock (15,000)  
Proceeds from issuance of common stock, net of tax withholding 5,005 (1,536)
Capital lease financing (183)  
Contingent consideration obligations (3,856)  
Deferred payments on an acquisition (2,000)  
Net cash (used in) provided by financing activities (31,329) 88,284
Foreign currency effect on cash (365) 94
Net increase (decrease) in cash 19,504 (3,342)
Cash and cash equivalents at beginning of period 121,139 130,450
Cash and cash equivalents at end of period $ 140,643 $ 127,108