XML 17 R6.htm IDEA: XBRL DOCUMENT v3.23.1
CONSOLIDATED STATEMENTS OF CASH FLOWS (Unaudited) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2023
Mar. 31, 2022
Cash flows from operating activities:    
Net income $ 385,005 $ 185,301
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 173,983 144,601
Lower of cost or market inventory valuation adjustment 47,597 (8,551)
Earnings of equity method investments, inclusive of distributions (1,799) (520)
Gain on sale of assets (414) (2,669)
Deferred income taxes 15,305 (24,934)
Equity-based compensation expense 3,325 7,831
Change in fair value – derivative instruments 15,402 (226)
(Increase) decrease in current assets:    
Accounts receivable 86,369 (419,609)
Inventories (280,263) (267,461)
Income taxes receivable 10,494 (3,026)
Prepayments and other 28,007 (12,334)
Increase (decrease) in current liabilities:    
Accounts payable (220,018) 790,060
Income taxes payable 51,697 12,284
Accrued liabilities 32,424 113,802
Turnaround expenditures (163,734) (45,156)
Other, net (5,675) (8,357)
Net cash provided by operating activities 177,705 461,036
Cash flows from investing activities:    
Additions to properties, plants and equipment (92,455) (144,149)
Acquisitions, net of cash acquired 0 (231,201)
Proceeds from sale of assets 1,572 2,617
Distributions from equity method investments in excess of equity earnings 760 1,704
Net cash used for investing activities (100,237) (385,176)
Cash flows from financing activities:    
Borrowings under credit agreements 42,000 360,000
Repayments under credit agreements (58,500) (58,500)
Purchase of treasury stock (245,566) (352)
Dividends (87,987) 0
Distributions to noncontrolling interests (25,986) (17,003)
Payments on finance leases (3,071) (2,611)
Other, net 0 (148)
Net cash provided by (used for) financing activities (379,110) 281,386
Effect of exchange rate on cash flow 1,506 588
Cash and cash equivalents:    
Increase (decrease) for the period (300,136) 357,834
Beginning of period 1,665,066 234,444
End of period 1,364,930 592,278
Cash paid during the period for:    
Interest (25,934) (18,986)
Income taxes, net (22,010) (40,098)
Increase (decrease) in accrued and unpaid capital expenditures (17,819) (21,738)
HEP    
Cash flows from investing activities:    
Additions to properties, plants and equipment (7,614) (14,147)
HEP investment in Osage Pipe Line Company LLC $ (2,500) $ 0