v3.10.0.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Reconciliation of net income to net cash provided by operating activities:    
Net Income (Loss) $ 799 $ (19,613)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Depreciation, depletion and accretion [1] 16,909 17,620
Amortization of deferred financing costs 367 1,350
Stock-based compensation 2,294 1,685
Lower-of-cost-or-market inventory adjustments 781 4,141
(Gain) loss on disposal of assets (84) 1,564
Allowance for doubtful accounts 379  
Allowance for parts inventory obsolescence 15  
Changes in operating assets and liabilities:    
Trade accounts receivable, net (3,810) (1,134)
Other receivables, net (1,333) (890)
Refundable income taxes 2,663 3
Inventory, net 12,727 4,984
Prepaid expenses and other current assets 1,428 4,591
Accounts payable, accrued liabilities, and accrued employee compensation and benefits (3,197) (5,560)
Income Taxes Payable 172  
Other liabilities 8,066 (757)
Net cash provided by operating activities 38,176 7,984
Cash Flows from Investing Activities:    
Additions to property, plant, equipment, and mineral properties (8,878) (3,559)
Proceeds from sale of property, plant, equipment, and mineral properties 92 5,554
Net cash (used in) provided by investing activities (8,786) 1,995
Cash Flows from Financing Activities:    
Issuance of common stock, net of transaction costs   57,479
Repayments of long-term debt   (69,000)
Proceeds from short-term borrowings on credit facility 13,500  
Repayments of short-term borrowings on credit facility (17,400)  
Debt issuance costs   (99)
Employee tax withholding paid for restricted stock upon vesting (371) (158)
Proceeds from exercise of stock options 47  
Net cash used in financing activities (4,224) (11,778)
Net Change in Cash, Cash Equivalents and Restricted Cash 25,166 (1,799)
Cash, Cash Equivalents, and Restricted Cash, beginning of period 1,549 8,470
Cash, Cash Equivalents, and Restricted Cash, end of period 26,715 6,671
Net cash paid (refunded) during the period for:    
Interest 1,576 8,377
Income taxes (2,835) 10
Accrued purchases for property, plant, equipment, and mineral properties $ 651 $ 242
[1] Depreciation, depletion and accretion incurred for potash and Trio® excludes depreciation, depletion and accretion amounts absorbed in or relieved from inventory.