XML 57 R5.htm IDEA: XBRL DOCUMENT v3.20.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Mar. 31, 2020
Mar. 31, 2019
Dec. 31, 2019
Cash flows from operating activities:      
Net Income (Loss) $ (222,337) $ 61,092  
Adjustments to reconcile net income (loss) to cash provided by (used in) operating activities:      
Depreciation, depletion, and amortization 21,283 20,957  
Impairment expense 67,922 0  
Debt extinguishment and commitment costs 0 5,496  
Non-cash interest expense 1,634 2,574  
Non-cash lower of cost or net realizable value adjustment 182,366 (3,752)  
Change in value of common stock warrants (4,270) 1,282  
Deferred taxes (18,373) (65,129)  
Stock-based compensation 1,615 1,535  
Unrealized loss on derivative contracts 28,351 5,255  
Equity (earnings) losses from Laramie Energy, LLC 45,031 (301)  
Net changes in operating assets and liabilities:      
Trade accounts receivable 30,989 (71,361)  
Prepaid and other assets 20,719 (58,309)  
Inventories 119,888 (76,766)  
Deferred turnaround expenditures (1,593) 0  
Obligations under inventory financing agreements (204,375) 82,870  
Accounts payable, other accrued liabilities, and operating lease ROU assets and liabilities (54,351) 37,799  
Net cash provided by (used in) operating activities 14,499 (56,758)  
Cash flows from investing activities:      
Acquisitions of businesses, net of cash acquired 0 (274,291)  
Proceeds from purchase price settlement related to asset acquisition 0 3,226  
Capital expenditures (14,948) (17,864)  
Other investing activities 5 188  
Net cash used in investing activities (14,943) (288,741)  
Cash flows from financing activities:      
Proceeds from borrowings 55,000 383,006  
Repayments of borrowings (64,762) (89,038)  
Net borrowings (repayments) on deferred payment arrangements and receivable advances (52,069) 56,967  
Payment of deferred loan costs 0 (13,293)  
Payments for debt extinguishment and commitment costs 0 (6,188)  
Other financing activities, net (1,660) (734)  
Net cash provided by (used in) financing activities (63,491) 330,720  
Net decrease in cash, cash equivalents, and restricted cash (63,935) (14,779)  
Cash, cash equivalents, and restricted cash at beginning of period 128,428 75,819 $ 75,819
Cash, cash equivalents, and restricted cash at end of period 64,493 61,040 128,428
Net cash received (paid) for:      
Interest (8,552) (3,389)  
Taxes 97 0  
Non-cash investing and financing activities:      
Accrued capital expenditures 7,301 9,457  
Value of warrants reclassified to equity 3,936   $ 0
ROU assets obtained in exchange for new finance lease liabilities 1,590 0  
ROU assets obtained in exchange for new operating lease liabilities 2,996 14,130  
ROU assets terminated in exchange for release from operating lease liabilities 7,738 0  
Common stock issued for business combination $ 0 $ 36,980