XML 30 R6.htm IDEA: XBRL DOCUMENT v3.8.0.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Net Cash Provided by (Used in) Operating Activities [Abstract]      
Net loss $ 72,621,000 $ (45,835,000) $ (39,911,000)
Adjustments to reconcile net income (loss) to cash provided by (used in) operating activities:      
Depreciation, depletion, and amortization 45,989,000 31,617,000 19,918,000
Impairment expense 0 0 9,639,000
Loss on termination of financing agreements 8,633,000 0 19,669,000
Gain on termination of other post-retirement benefits 0 0 (5,550,000)
Non-cash interest expense 7,276,000 18,121,000 12,449,000
Change in value of common stock warrants 1,674,000 (2,962,000) 3,664,000
Change in value of contingent consideration 0 (10,770,000) 18,450,000
Deferred taxes (1,321,000) (7,935,000) (16,489,000)
Stock-based compensation 7,204,000 6,625,000 5,165,000
Unrealized (gain) loss on derivative contracts (989,000) (15,479,000) 10,896,000
Equity (earnings) losses from Laramie Energy, LLC (18,369,000) 22,381,000 55,983,000
Net changes in operating assets and liabilities:      
Trade accounts receivable (19,100,000) (17,162,000) 54,529,000
Collateral posted with broker for derivative transactions 2,499,000 18,212,000 (20,927,000)
Prepaid and other assets 37,645,000 447,000 (35,697,000)
Inventories (146,533,000) 49,015,000 31,913,000
Deferred turnaround expenditures 0 (32,661,000) 0
Obligations under inventory financing agreements 143,034,000 (5,977,000) 34,845,000
Accounts payable and other accrued liabilities (33,780,000) (26,698,000) (26,188,000)
Contingent consideration 0 (4,830,000) 0
Net cash provided by (used in) operating activities 106,483,000 (23,891,000) 132,358,000
Cash flows from investing activities:      
Acquisitions of businesses, net of cash acquired 0 (209,183,000) (64,331,000)
Capital expenditures (31,708,000) (24,833,000) (22,345,000)
Proceeds from sale of assets 35,000 2,773,000 0
Change in restricted cash 502,000 0 0
Investment in Laramie Energy, LLC 0 (55,000,000) (27,529,000)
Net cash used in investing activities (31,171,000) (286,243,000) (114,205,000)
Cash flows from financing activities:      
Proceeds from sale of common stock, net of offering costs 0 49,044,000 76,056,000
Proceeds from borrowings 616,706,000 354,682,000 208,158,000
Repayments of borrowings (603,770,000) (202,165,000) (227,212,000)
Net borrowings (repayments) on deferred payment arrangement (2,198,000) 8,027,000 (1,436,000)
Payment of deferred loan costs (10,064,000) (6,892,000) (7,335,000)
Contingent consideration settlements 0 (11,980,000) 0
Proceeds from inventory financing agreements 0 0 271,000,000
Payments for termination of supply and exchange agreements 0 0 (257,811,000)
Payments for early termination of financing agreements (4,432,000) 0 0
Other financing activities, net (993,000) (598,000) (995,000)
Net cash provided by (used in) financing activities (4,751,000) 190,118,000 60,425,000
Net increase (decrease) in cash and cash equivalents 70,561,000 (120,016,000) 78,578,000
Cash and cash equivalents at beginning of period 47,772,000 167,788,000 89,210,000
Cash and cash equivalents at end of period 118,333,000 47,772,000 167,788,000
Net cash received (paid) for:      
Interest (23,873,000) (13,217,000) (6,891,000)
Taxes   589,000 402,000
Non-cash investing and financing activities:      
Accrued capital expenditures 2,926,000 4,907,000 2,102,000
Value of warrants and debt reclassified to equity 0 3,084,000 7,691,000
Capital lease additions $ 165,000 $ 1,575,000 $ 216,000