XML 19 R6.htm IDEA: XBRL DOCUMENT v3.10.0.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (unaudited) - USD ($)
$ in Thousands
3 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Operating activities:    
Net (loss) income $ (21,092) $ 454
Adjustments to reconcile net (loss) income to net cash (used in) provided by operating activities:    
Depreciation and amortization 8,043 8,301
Amortization of debt issuance costs and debt discount 1,600 1,513
Amortization of deferred financing costs 282 270
Provision for doubtful accounts (7) (15)
Non-cash stock compensation (24) 3,146
Deferred income taxes 146 (1,099)
Environmental charge   902
Earnings on equity investment in joint venture (708) (231)
Changes in assets and liabilities:    
Trade accounts receivable (45,332) 21,137
Other receivables 582 149
Inventory (19,639) 2,225
Prepaid expenses and other current assets (1,657) (944)
Other assets (481) (334)
Accounts payable 16,691 7,699
Accrued expenses and other liabilities 15,161 792
Net cash (used in) provided by operating activities (46,435) 43,965
Investing activities:    
Purchases of investments (653) (2,655)
Sales of investments 2,673 1,646
Payments for intangible assets (520) (54)
Purchases of property and equipment, net (185) (1,506)
Net cash provided by (used in) investing activities 1,315 (2,569)
Financing activities:    
Payment of cash dividends   (1,935)
Proceeds from exercise of stock options   73
Repayment of bank loans (3,799) (23,783)
Net cash used in financing activities (3,799) (25,645)
Effect of exchange rate changes on cash (408) 669
Net (decrease) increase in cash (49,327) 16,420
Cash and cash equivalents at beginning of period 100,874 55,680
Cash and cash equivalents at end of period 51,547 $ 72,100
Non-Cash Item    
Dividends declared but not paid $ 306