XML 22 R6.htm IDEA: XBRL DOCUMENT v3.10.0.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (unaudited) - USD ($)
$ in Thousands
6 Months Ended
Dec. 31, 2018
Dec. 31, 2017
Operating activities:    
Net loss $ (43,442) $ (13,410)
Adjustments to reconcile net (loss) to net cash (used in) provided by operating activities:    
Depreciation and amortization 16,160 16,547
Amortization of debt issuance costs and debt discount 3,223 3,048
Amortization of deferred financing costs 564 552
Provision for doubtful accounts (11) 166
Non-cash stock compensation 454 4,514
Deferred income taxes 139 4,827
Environmental charge   902
Earnings on equity investment in joint venture (1,476) (1,086)
Changes in assets and liabilities:    
Trade accounts receivable (15,676) 19,938
Other receivables 1,177 (3,145)
Inventory (47,833) (9,956)
Prepaid expenses and other current assets (2,752) (472)
Other assets 2,701 (953)
Accounts payable 25,899 16,221
Accrued expenses and other liabilities 6,374 9,212
Net cash (used in) provided by operating activities (54,499) 46,905
Investing activities:    
Purchases of investments (660) (2,683)
Sales of investments 2,664 1,694
Payments for intangible assets (1,326) (692)
Purchases of property and equipment, net (498) (3,041)
Net cash provided by (used in) investing activities 180 (4,722)
Financing activities:    
Payment of cash dividends (306) (3,929)
Proceeds from exercise of stock options   595
Repayment of bank loans (3,865) (30,582)
Net cash used in financing activities (4,171) (33,916)
Effect of exchange rate changes on cash (602) 983
Net (decrease) increase in cash (59,092) 9,250
Cash and cash equivalents at beginning of period 100,874 55,680
Cash and cash equivalents at end of period $ 41,782 $ 64,930