XML 21 R7.htm IDEA: XBRL DOCUMENT v3.19.1
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Mar. 31, 2019
Mar. 31, 2018
Cash flows from operating activities:    
Net loss $ (8,798) $ (41,160)
Adjustments to reconcile net loss to net cash provided by (used in) provided by operating activities:    
Depreciation 20,026 15,417
Amortization of intangible assets 19,734 17,771
Provision for doubtful accounts 1,369 1,566
Stock-based compensation 24,339 19,646
Deferred income taxes (6,030) (1,900)
Unrealized/realized loss (gain) on equity investment   (3,757)
Realized gain on bargain purchase   (5,030)
Non-cash interest 2,308 2,113
Other 15 328
Changes in operating assets and liabilities, net of acquisitions    
Accounts receivable 69,328 (45,376)
Inventories 6,222 5,122
Prepaid expenses and other assets (6,993) (3,711)
Accounts payable (26,348) 28,912
Accrued compensation and benefits (17,502) (4,779)
Deferred revenue 13,197 10,365
Other current and long-term liabilities (11,365) 2,743
Net cash provided by (used in) operating activities 79,502 (1,730)
Cash flows from investing activities:    
Capital expenditures (16,181) (21,999)
Business acquisitions   (97,581)
Proceeds from sale of investment 727 4,922
Net cash used in investing activities (15,454) (114,658)
Cash flows from financing activities:    
Borrowings under Term Loan   100,000
Repayments of debt (17,403) (13,278)
Loan fees on borrowings (545) (1,494)
Repurchase of stock (15,000)  
Proceeds from issuance of common stock, net of tax withholding 13,044 4,657
Contingent consideration obligations (5,274) (671)
Deferred payments on an acquisition (3,000)  
Net cash (used in) provided by financing activities (28,178) 89,214
Foreign currency effect on cash (196) (99)
Net increase (decrease) in cash 35,674 (27,273)
Cash at beginning of period 121,139 130,450
Cash at end of period $ 156,813 $ 103,177