XML 17 R6.htm IDEA: XBRL DOCUMENT v3.23.2Close
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Operating activities    
Net income from continuing operations $ 23,569 $ 108,904
Loss from discontinued operations, net of income taxes 0 (1,294)
Net income 23,569 107,610
Adjustments to reconcile net income to cash provided by (used in) operating activities:    
Depreciation and amortization 62,585 67,945
Bad debt expense, net 3,720 3,069
Equity in losses of affiliates, net of dividends 231 6,278
Losses (gains) on sales of assets, net 679 (10,305)
Stock-based compensation expense 6,000 4,708
Deferred federal income tax (7,948) (13,755)
Asset impairment 87,156 0
Other (1,730) 8,549
Changes in operating assets and liabilities:    
Accounts receivable 207,867 (289,196)
Inventories 734,855 186,685
Commodity derivatives 102,753 (189,090)
Other current and non-current assets (1,247) 5,106
Payables and other current and non-current liabilities (1,011,086) (609,403)
Net cash provided by (used in) operating activities 207,404 (721,799) Close
Investing Activities    
Purchases of property, plant and equipment and capitalized software (74,991) (43,472)
Proceeds from sale of assets 1,192 4,672
Purchases of investments (544) (2,105)
Purchases of Rail assets 0 (27,276)
Proceeds from sale of Rail assets 2,871 36,341
Other (201) 1,746
Net cash used in investing activities (71,673) (30,094) Close
Financing Activities    
Net receipts (payments) under short-term lines of credit (173,384) 862,698
Proceeds from issuance of short-term debt 0 350,000
Payments of short-term debt 0 (550,000)
Proceeds from issuance of long-term debt 100,000 0
Payments of long-term debt (35,861) (15,077)
Contributions from noncontrolling interest owner 0 2,450
Distributions to noncontrolling interest owner (24,344) (9,980)
Payments of debt issuance costs (767) (7,802)
Dividends paid (12,527) (12,245)
Proceeds from exercises of stock options 0 5,024
Common stock repurchased (1,747) 0
Value of shares withheld for taxes (6,616) (3,349)
Other 259 394
Net cash (used in) provided by financing activities (154,987) 622,113 Close
Effect of exchange rates on cash and cash equivalents 280 (629) Close
Decrease in cash and cash equivalents (18,976) (130,409) Close
Cash and cash equivalents at beginning of period 115,269 216,444
Cash and cash equivalents at end of period $ 96,293 $ 86,035