XML 17 R6.htm IDEA: XBRL DOCUMENT v3.7.0.1
UNAUDITED CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Mar. 31, 2017
Mar. 31, 2016
Cash flows from operating activities:    
Net income $ 19,529 $ 20,256
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 49,042 42,544
Stock based compensation expense 20,262 13,582
Amortization of debt discount and issuance costs 779  
Impairment charges 5,418 8,741
Gain on sale of business (2,110)  
Other 1,186 1,571
Changes in operating assets and liabilities-net of business acquisitions:    
Accounts receivable (20,677) 21,442
Inventories 26,410 (53,974)
Prepaid expenses and other assets (6,017) (17,746)
Accounts payable 6,733 21,813
Advances from customers (27,417) (201)
Deferred revenue (16,582) (12,890)
Other (4,385) (4,902)
Net cash provided by operating activities 52,171 40,236
Cash flows from investing activities:    
Acquisition of property and equipment (11,979) (8,965)
Acquisition of businesses, net of cash acquired (191,238) (19,565)
Net proceeds from sale of business 12,793  
Acquisition of intangible and other assets (4,034) (4,256)
Net cash used in investing activities (194,458) (32,786)
Cash flows from financing activities:    
Net borrowings (payments) on bank lines of credit (32,000) 125,000
Proceeds from long-term debt 280,261 583
Payments on long-term debt (2,716) (2,209)
Proceeds from exercise of stock options and employee stock purchase plan 9,953 6,132
Repurchase of common shares (48,453) (73,368)
Taxes paid related to net share settlement of equity awards (9,922) (13,187)
Net cash provided by financing activities 197,123 42,951
Effect of exchange rate changes on cash (734) (569)
Net increase in cash and cash equivalents 54,102 49,832
Cash and cash equivalents-beginning of period 104,370 47,593
Cash and cash equivalents-end of period 158,472 97,425
Supplemental disclosure of cash flow information:    
Interest 4,286 1,563
Income taxes $ 16,108 $ 20,075