XML 19 R6.htm IDEA: XBRL DOCUMENT v3.21.2
Consolidated Statements Of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Cash flows from operating activities:    
Net income (loss) $ 680,358 $ (420,348)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Depreciation and amortization 369,341 396,033
Long-lived asset impairment 0 436,908
Lower of cost or market inventory valuation adjustment (318,862) 227,711
Earnings of equity method investments, inclusive of distributions 0 (238)
Loss on early extinguishment of debt 0 25,915
Gain on sales-type leases 0 (33,834)
Gain on sale of assets (89,831) (257)
Deferred income taxes 160,738 (147,283)
Equity-based compensation expense 29,663 22,221
Change in fair value – derivative instruments (19,483) (3,727)
(Increase) decrease in current assets:    
Accounts receivable (220,645) 325,796
Inventories (399,630) 104,640
Income taxes receivable (7,336) (64,162)
Prepayments and other 10,369 14,403
Increase (decrease) in current liabilities:    
Accounts payable 438,541 (387,259)
Income taxes payable 18,164 (21,379)
Accrued liabilities 215,817 (22,037)
Turnaround expenditures (116,646) (73,822)
Other, net (11,064) 11,769
Net cash provided by operating activities 739,494 391,050
Cash flows from investing activities:    
Additions to properties, plants and equipment (471,412) (174,366)
Proceeds from sale of assets 106,352 1,094
Distributions from equity method investments in excess of equity earnings 3,517 701
Net cash used for investing activities (438,476) (213,651)
Cash flows from financing activities:    
Borrowings under credit agreements 210,500 219,500
Repayments under credit agreements (283,500) (237,000)
Proceeds from issuance of senior notes - HEP 0 748,925
Purchase of treasury stock (613) (3,350)
Dividends (57,663) (171,603)
Distributions to noncontrolling interests (57,217) (70,941)
Contributions from noncontrolling interests 21,285 15,382
Payments on finance leases (2,047) (2,149)
Deferred financing costs (14,500) (13,511)
Other, net (414) 454
Net cash provided by (used for) financing activities (184,169) 463,207
Effect of exchange rate on cash flow (3,605) (880)
Cash and cash equivalents:    
Increase for the period 113,244 639,726
Beginning of period 1,368,318 885,162
End of period 1,481,562 1,524,888
Cash (paid) received during the period for:    
Interest (87,229) (83,325)
Income taxes, net 20,959 (52,270)
Increase in accrued and unpaid capital expenditures 4,339 19,533
HEP    
Cash flows from investing activities:    
Additions to properties, plants and equipment (76,933) (38,642)
Investment in equity company - HEP 0 (2,438)
Cash flows from financing activities:    
Proceeds from issuance of senior notes - HEP 0 500,000
Redemption of senior notes - HEP $ 0 $ (522,500)