v3.8.0.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2017
Sep. 30, 2016
Reconciliation of net income to net cash provided by operating activities:    
Net loss $ (21,520) $ (50,066)
Adjustments to reconcile net loss to net cash provided by operating activities:    
Depreciation, depletion and accretion [1] 25,890 32,965
Amortization of deferred financing costs 1,596 2,228
Stock-based compensation 2,678 2,552
Lower-of-cost-or-market inventory adjustments 4,808 17,129
Loss on disposal of assets 1,749 94
Allowance for doubtful accounts 420 0
Allowance for parts inventory obsolescence (20) 514
Other 0 376
Changes in operating assets and liabilities:    
Trade accounts receivable, net (7,944) (7,386)
Other receivables, net (360) (1,195)
Refundable income taxes 1,379 92
Inventory, net (2,086) (16,200)
Prepaid expenses and other current assets 8,392 11,974
Accounts payable, accrued liabilities, and accrued employee compensation and benefits (143) (5,157)
Other liabilities (781) (1,474)
Net cash provided by (used in) operating activities 14,058 (13,554)
Cash Flows from Investing Activities:    
Additions to property, plant, equipment, and mineral properties (6,226) (14,256)
Proceeds from sale of property, plant, equipment, and mineral properties 5,553 0
Purchases of investments 0 (10,325)
Proceeds from sale of investments 1 55,822
Net cash (used in) provided by investing activities (672) 31,241
Cash Flows from Financing Activities:    
Issuance of common stock, net of transaction expenses 59,130 0
Repayments of long-term debt (75,000) 0
Proceeds from Lines of Credit 9,000 0
Repayments of Lines of Credit (9,000) 0
Debt issuance costs (128) (3,843)
Employee tax withholding paid for restricted stock upon vesting (158) (172)
Net cash used in financing activities (16,156) (4,015)
Net Change in Cash and Cash Equivalents (2,770) 13,672
Cash and Cash Equivalents, beginning of period 4,464 9,307
Cash and Cash Equivalents, end of period 1,694 22,979
Net cash paid (refunded) during the period for:    
Interest 9,088 3,247
Income taxes (1,496) (88)
Accrued purchases for property, plant, equipment, and mineral properties $ 1,373 $ 801
[1] Depreciation, depletion and amortization incurred for potash and Trio® excludes depreciation, depletion and amortization amounts absorbed in or relieved from inventory.