XML 18 R6.htm IDEA: XBRL DOCUMENT v3.21.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2021
Mar. 31, 2020
Cash flows from operating activities:    
Net Loss $ (62,227) $ (222,337)
Adjustments to reconcile net loss to cash provided by (used in) operating activities:    
Depreciation, depletion, and amortization 22,880 21,283
Impairment expense 0 67,922
Debt extinguishment and commitment costs 1,507 0
Non-cash interest expense 1,843 1,634
Non-cash lower of cost and net realizable value adjustment (10,595) 182,366
Change in value of common stock warrants 0 (4,270)
Deferred taxes 0 (18,373)
Gain on sale of assets, net (64,912) 0
Stock-based compensation 1,886 1,615
Unrealized (gain) loss on derivative contracts (6,922) 28,351
Equity (earnings) losses from Laramie Energy, LLC 0 45,031
Net changes in operating assets and liabilities:    
Trade accounts receivable (45,029) 30,989
Prepaid and other assets 2,867 20,719
Inventories (139,143) 119,888
Deferred turnaround expenditures (5,602) (1,593)
Obligations under inventory financing agreements 124,393 (204,375)
Accounts payable, other accrued liabilities, and operating lease ROU assets and liabilities 148,317 (54,351)
Net cash provided by (used in) operating activities (30,737) 14,499
Cash flows from investing activities:    
Capital expenditures (8,178) (14,948)
Proceeds from sale of assets 102,856 5
Net cash provided by (used in) investing activities 94,678 (14,943)
Cash flows from financing activities:    
Proceeds from sale of common stock, net of offering costs 87,401 0
Proceeds from borrowings 39,409 55,000
Repayments of borrowings (86,719) (64,762)
Net borrowings (repayments) on deferred payment arrangements and receivable advances 44,542 (52,069)
Purchase of common stock for retirement (1,321) 0
Payments for debt extinguishment and commitment costs (887) 0
Other financing activities, net 58 (1,660)
Net cash provided by (used in) financing activities 82,483 (63,491)
Net increase (decrease) in cash, cash equivalents, and restricted cash 146,424 (63,935)
Cash, cash equivalents, and restricted cash at beginning of period 70,309 128,428
Cash, cash equivalents, and restricted cash at end of period 216,733 64,493
Net cash received (paid) for:    
Interest (17,373) (8,552)
Taxes 0 97
Non-cash investing and financing activities:    
Accrued capital expenditures 2,295 7,301
Value of warrants reclassified to equity 0 3,936
ROU assets obtained in exchange for new finance lease liabilities 1,072 1,590
ROU assets obtained in exchange for new operating lease liabilities 85,426 2,996
ROU assets terminated in exchange for release from operating lease liabilities $ 0 $ 7,738