XML 19 R6.htm IDEA: XBRL DOCUMENT v3.8.0.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (unaudited) - USD ($)
shares in Thousands, $ in Thousands
9 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Operating activities:    
Net (loss) income $ (210,045) $ 9,409
Adjustments to reconcile net (loss) income to net cash provided by operating activities:    
Depreciation and amortization 24,608 15,301
Amortization of debt issuance costs and debt discount 4,603 4,355
Amortization of deferred financing costs 833 300
Provision for doubtful accounts 305 (18)
Non-cash stock compensation 6,442 5,239
Deferred income taxes (80,207) 627
Environmental charge 902 903
Earnings on equity investment in joint venture (1,990) (1,558)
Contingent consideration (2,505)  
Impairment charges 256,266  
Changes in assets and liabilities:    
Trade accounts receivable 2,573 (14,839)
Other receivables (3,662) 1,664
Inventory (3,102) (3,778)
Prepaid expenses and other current assets (927) (424)
Other assets (2,202) 215
Accounts payable 34,224 18,857
Accrued expenses and other liabilities 30,299 (4,702)
Net cash provided by operating activities 56,415 31,551
Investing activities:    
Payment for net assets of business acquired   (270,000)
Purchases of investments (2,880) (1,824)
Sales of investments 1,867 775
Payments for intangible assets (779) (3,077)
Purchases of property and equipment, net (4,677) (1,386)
Net cash used in investing activities (6,469) (275,512)
Financing activities:    
Payment of cash dividends (5,924) (5,944)
Proceeds from exercise of stock options 595 550
Excess tax benefit on stock option exercises and restricted stock   551
Borrowings of bank loans   265,000
Payment for deferred financing costs   (5,407)
Repayment of bank loans (39,398) (16,898)
Net cash (used in) provided by financing activities (44,727) 237,852
Effect of exchange rate changes on cash 1,133 (757)
Net increase (decrease) in cash 6,352 (6,866)
Cash and cash equivalents at beginning of period 55,680 66,828
Cash and cash equivalents at end of period $ 62,032 $ 59,962
Noncash Investing and Financing Items [Abstract]    
Number of shares to be issued 5,122  
Fair value of future issuance of shares $ 90,400