XML 23 R8.htm IDEA: XBRL DOCUMENT v3.10.0.1
Consolidated Statements of Cash Flows
$ in Thousands
12 Months Ended
Jun. 30, 2018
USD ($)
Jun. 30, 2017
USD ($)
Jun. 30, 2016
USD ($)
Statement of Cash Flows [Abstract]      
Net income $ 9,694 $ 67,430 $ 47,429
Net (loss) income from discontinued operations, net of tax (72,734) 1,889 19,858
Net income from continuing operations 82,428 65,541 27,571
Adjustments to reconcile net income from continuing operations to net cash provided by operating activities from continuing operations:      
Depreciation and amortization 60,809 59,568 58,689
Deferred income taxes (21,503) (10,456) 33,093
Equity in net (income) loss of equity-method investees (339) (129) 47
Stock-based compensation 11,177 9,658 12,688
Contingent consideration (income) expense (2,281) 0 1,511
Gains on fire insurance recovery and other, net 0 0 (8,058)
Impairment charges 21,733 40,452 127,748
Bad debt expense 1,693 91 121
Other non-cash items, net (153) 2,722 26,099
Increase (decrease) in cash attributable to changes in operating assets and liabilities, net of amounts applicable to acquisitions:      
Accounts receivable (24,841) 33,494 (12,078)
Inventories (45,036) 209 (9,325)
Other current assets (9,269) 33,109 (22,699)
Other assets and liabilities (2,396) (4,521) 3,763
Accounts payable and accrued expenses 49,286 2,957 (54,198)
Net cash provided by operating activities - continuing operations 121,308 232,695 184,972
CASH FLOWS FROM INVESTING ACTIVITIES      
Acquisitions of businesses, net of cash acquired (12,368) (19,544) (157,061)
Purchases of property and equipment (70,891) (47,307) (47,917)
Proceeds from sale of assets and other 738 6,419 0
Net cash used in investing activities - continuing operations (82,521) (60,432) (204,978)
CASH FLOWS FROM FINANCING ACTIVITIES      
Borrowings under bank revolving credit facility 65,000 90,000 323,904
Repayments under bank revolving credit facility (400,220) (181,203) (145,053)
Borrowings under term loan 299,245 0 0
Repayments under term loan (3,750) 0 0
Repayments of senior notes 0 0 (150,000)
Repayments of other debt, net (996) (19,199) (12,770)
(Funding) proceeds of discontinued operations entities (21,568) (25,921) 7,789
Acquisition related contingent consideration 0 (2,498) (1,547)
Shares withheld for payment of employee payroll taxes (7,193) (8,268) (25,535)
Net cash used in financing activities - continuing operations (69,482) (147,089) (3,212)
Effect of exchange rate changes on cash 197 (3,114) (11,295)
CASH FLOWS FROM DISCONTINUED OPERATIONS      
Cash (used in) provided by operating activities (14,086) (12,772) 32,921
Cash used in investing activities (10,752) (15,813) (29,367)
Cash provided by (used in) financing activities 21,361 25,591 (8,037)
Net cash used in discontinued operations (3,477) (2,994) (4,483)
Net increase/(decrease) in cash and cash equivalents (33,975) 19,066 (38,996)
Cash and cash equivalents at beginning of year 146,992 127,926 166,922
Cash and cash equivalents at end of year 113,017 146,992 127,926
Less: cash and cash equivalents of discontinued operations (6,460) (9,937) (12,932)
Cash and cash equivalents of continuing operations at end of year $ 106,557 $ 137,055 $ 114,994