XML 17 R6.htm IDEA: XBRL DOCUMENT v3.6.0.2
UNAUDITED CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Cash flows from operating activities:    
Net income $ 5,510 $ 10,913
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 32,175 28,050
Stock based compensation expense 14,059 8,754
Impairment charges 5,418 8,741
Other 228 1,390
Changes in operating assets and liabilities-net of business acquisitions:    
Accounts receivable (12,550) 19,366
Inventories 14,216 (44,872)
Prepaid expenses and other assets (12,028) (11,121)
Accounts payable (966) 15,528
Advances from customers (20,055) 3,884
Deferred revenue (13,196) (11,091)
Other 5,454 (9,984)
Net cash provided by operating activities 18,265 19,558
Cash flows from investing activities:    
Acquisition of property and equipment (4,329) (4,940)
Acquisition of businesses, net of cash acquired (189,014) (2,109)
Acquisition of intangible and other assets (2,735) (2,682)
Net cash used in investing activities (196,078) (9,731)
Cash flows from financing activities:    
Net borrowings on bank lines of credit 224,000 55,000
Proceeds from long-term debt 240 215
Payments on long-term debt (1,440) (1,423)
Proceeds from exercise of stock options and employee stock purchase plan 6,457 4,394
Repurchase of common shares (7,367) (22,629)
Taxes paid related to net share settlement of equity awards (9,015) (13,049)
Net cash provided by financing activities 212,875 22,508
Effect of exchange rate changes on cash (1,184) (139)
Net increase in cash and cash equivalents 33,878 32,196
Cash and cash equivalents-beginning of period 104,370 47,593
Cash and cash equivalents-end of period 138,248 79,789
Supplemental disclosure of cash flow information:    
Interest 2,918 895
Income taxes $ 12,665 $ 12,268