XML 17 R6.htm IDEA: XBRL DOCUMENT v3.8.0.1
UNAUDITED CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Sep. 30, 2017
Sep. 30, 2016
Cash flows from operating activities:    
Net income $ 10,157 $ 677
Adjustments to reconcile net income to cash flows from operating activities:    
Depreciation and amortization 20,375 15,426
Stock based compensation expense 5,487 5,830
Deferred income taxes 5,346 98
Amortization of debt discount and issuance costs 2,098  
Impairment charges   5,418
Other 490 160
Changes in operating assets and liabilities-net of business acquisitions:    
Accounts receivable 16,232 (11,412)
Inventories (10,098) 10,901
Prepaid expenses and other current assets (8,220) (3,427)
Accounts payable 6,586 (8,791)
Accrued payroll and related expenses (5,742) (5,251)
Advances from customers (3,484) (10,469)
Other (4,120) (1,018)
Net cash provided by (used in) operating activities 35,107 (1,858)
Cash flows from investing activities:    
Acquisition of property and equipment (23,719) (2,806)
Acquisition of businesses, net of cash acquired (83,632) (186,861)
Acquisition of intangible and other assets (1,179) (1,881)
Net cash used in investing activities (108,530) (191,548)
Cash flows from financing activities:    
Net borrowings on bank lines of credit 111,000 214,000
Proceeds from long-term debt 118 233
Payments on long-term debt (670) (707)
Proceeds from exercise of stock options and employee stock purchase plan 3,718 2,099
Repurchase of common shares   (2,712)
Taxes paid related to net share settlement of equity awards (18,802) (290)
Net cash provided by financing activities 95,364 212,623
Effect of exchange rate changes on cash 437 (621)
Net increase in cash and cash equivalents 22,378 18,596
Cash and cash equivalents-beginning of period 169,650 104,370
Cash and cash equivalents-end of period 192,028 122,966
Supplemental disclosure of cash flow information:    
Interest 2,852 956
Income taxes $ 4,172 $ 6,022