XML 16 R6.htm IDEA: XBRL DOCUMENT v3.23.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Equity earnings $ (425) $ 0
Return of capital 2,175 0
Cash flows from operating activities:    
Net income 267,903 12,074
Adjustments to reconcile net income to cash provided by operating activities:    
Depreciation and amortization 52,576 49,363
Debt extinguishment and commitment costs 17,682 5,672
Non-cash interest expense 1,615 2,106
Non-cash lower of cost and net realizable value adjustment 0 (463)
Deferred taxes 1,226 615
Loss on sale of assets, net 0 15
Stock-based compensation 6,082 5,769
Unrealized (gain) loss on derivative contracts 7,621 (13,155)
Net changes in operating assets and liabilities:    
Trade accounts receivable (134,440) (174,818)
Prepaid and other assets 4,630 (68,580)
Inventories 99,582 (369,846)
Deferred turnaround expenditures 0 (29,688)
Obligations under inventory financing agreements (78,038) 309,396
Accounts payable, other accrued liabilities, and operating lease ROU assets and liabilities 76,507 299,197
Net cash provided by operating activities 312,240 27,657
Cash flows from investing activities:    
Acquisition of business (608,223) 0
Capital expenditures (30,729) (29,020)
Proceeds from sale of assets and other 50 68
Net cash used in investing activities (626,021) (28,952)
Cash flows from financing activities:    
Proceeds from borrowings 763,765 256,163
Repayments of borrowings (702,499) (313,143)
Net borrowings (repayments) on deferred payment arrangements and receivable advances (31,405) 142,348
Payment of deferred loan costs (9,127) 0
Purchase of common stock for retirement (5,171) (6,483)
Exercise of stock options 6,374 0
Payments for debt extinguishment and commitment costs (8,742) (3,983)
Other financing activities, net 617 350
Net cash provided by financing activities 13,812 75,252
Net increase in cash, cash equivalents, and restricted cash (299,969) 73,957
Cash, cash equivalents, and restricted cash at beginning of period 494,926 116,221
Cash, cash equivalents, and restricted cash at end of period 194,957 190,178
Net cash paid for:    
Interest (37,969) (30,735)
Taxes (2,810) (13)
Non-cash investing and financing activities:    
Accrued capital expenditures 7,706 3,818
ROU assets obtained in exchange for new finance lease liabilities 944 594
ROU assets obtained in exchange for new operating lease liabilities 16,684 13,692
ROU assets terminated in exchange for release from operating lease liabilities 0 32,902
Laramie Energy Company    
Equity earnings (10,706) 0
Return of capital $ 10,706 $ 0