XML 29 R8.htm IDEA: XBRL DOCUMENT v3.19.2
Consolidated Statements of Cash Flows
$ in Thousands
12 Months Ended
Jun. 30, 2019
USD ($)
Jun. 30, 2018
USD ($)
Jun. 30, 2017
USD ($)
Statement of Cash Flows [Abstract]      
Net (loss) income $ (183,314) $ 9,694 $ 67,430
Net (loss) income from discontinued operations, net of tax (133,369) (72,734) 1,889
Net (loss) income from continuing operations (49,945) 82,428 65,541
Adjustments to reconcile net (loss) income from continuing operations to net cash provided by operating activities from continuing operations:      
Depreciation and amortization 56,914 60,809 59,568
Deferred income taxes (25,790) (21,503) (10,456)
Equity in net loss (income) of equity-method investees 655 (339) (129)
Stock-based compensation, net 9,932 11,177 9,658
Impairment charges 33,719 21,733 40,452
Other non-cash items, net 1,225 (741) 2,813
Increase (decrease) in cash attributable to changes in operating assets and liabilities, net of amounts applicable to acquisitions:      
Accounts receivable 21,194 (24,841) 33,494
Inventories 20,648 (45,036) 209
Other current assets (5,758) (9,269) 33,109
Other assets and liabilities 3,697 (2,396) (4,521)
Accounts payable and accrued expenses (16,972) 49,286 2,957
Net cash provided by operating activities from continuing operations 49,519 121,308 232,695
CASH FLOWS FROM INVESTING ACTIVITIES      
Purchases of property and equipment (77,128) (70,891) (47,307)
Proceeds from sale of assets and other 7,145 738 6,419
Acquisitions of businesses, net of cash acquired 0 (12,368) (19,544)
Net cash used in investing activities from continuing operations (69,983) (82,521) (60,432)
CASH FLOWS FROM FINANCING ACTIVITIES      
Borrowings under bank revolving credit facility 285,000 65,000 90,000
Repayments under bank revolving credit facility (268,791) (400,220) (181,203)
Borrowings under term loan 0 299,245 0
Repayments under term loan (90,000) (3,750) 0
Repayments of other debt, net (3,171) (996) (19,199)
Proceeds from (funding of) discontinued operations entities 36,029 (21,568) (25,921)
Acquisition related contingent consideration 0 0 (2,498)
Shares withheld for payment of employee payroll taxes (3,532) (7,193) (8,268)
Net cash used in financing activities from continuing operations (44,465) (69,482) (147,089)
Effect of exchange rate changes on cash (2,102) 197 (3,114)
CASH FLOWS FROM DISCONTINUED OPERATIONS      
Cash used in operating activities (8,250) (14,086) (12,772)
Cash provided by (used in) investing activities 37,941 (10,752) (15,813)
Cash (used in) provided by financing activities (36,151) 21,361 25,591
Net cash used in discontinued operations (6,460) (3,477) (2,994)
Net (decrease)/increase in cash and cash equivalents (73,491) (33,975) 19,066
Cash and cash equivalents at beginning of year 113,017 146,992 127,926
Cash and cash equivalents at end of year 39,526 113,017 146,992
Less: cash and cash equivalents of discontinued operations 0 (6,460) (9,937)
Cash and cash equivalents of continuing operations at end of year $ 39,526 $ 106,557 $ 137,055