XML 25 R7.htm IDEA: XBRL DOCUMENT v3.22.4
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Operating Activities      
Income (loss) before income taxes from continuing operations $ 154,954 $ 131,542 $ (16,171)
Income from discontinued operations, net of income taxes 12,025 4,324 1,956
Net income (loss) 166,979 135,866 (14,215)
Adjustments to reconcile net income (loss) to cash provided by (used in) operating activities:      
Depreciation and amortization 134,742 178,934 188,638
Bad debt expense, net 6,001 237 7,042
Equity in losses (earnings) of affiliates, net of dividends 5,671 (4,842) (638)
Gain on sales of assets, net (7,148) (6,184) (686)
Stock-based compensation expense 11,192 11,038 10,183
Deferred federal income tax (20,009) (104,618) 26,386
Gain on sale of business from continuing operations 0 (14,619) 0
(Gain) loss on sale of business from discontinued operations (27,091) 1,491 0
Asset impairment 11,818 8,947 0
Damaged inventory 17,328 0 0
Other 15,550 10,545 21,748
Changes in operating assets and liabilities:      
Accounts and notes receivable (391,403) (184,002) (128,502)
Inventories 56,859 (528,073) (139,499)
Commodity derivatives 65,399 (107,188) (115,170)
Other current and non-current assets 10,936 (116,403) (53,208)
Payables and other current and non-current liabilities 230,293 667,821 123,489
Net cash provided by (used in) operating activities 287,117 (51,050) (74,432)
Investing Activities      
Acquisition of businesses, net of cash acquired (20,245) (11,425) 0
Purchases of property, plant and equipment and capitalized software (108,284) (75,766) (77,147)
Proceeds from sale of assets 5,307 4,508 11,112
Purchase of investments (2,105) (6,243) (3,059)
Proceeds from sale of business from continuing operations 5,171 18,130 0
Proceeds from sale of business from discontinued operations 56,302 543,102 0
Purchases of Rail assets (31,458) (6,039) (27,739)
Proceeds from sale of Rail assets 36,706 19,150 10,077
Other 5,704 1,831 0
Net cash (used in) provided by investing activities (52,902) 487,248 (86,756)
Financing Activities      
Net (payments) receipts under short-term lines of credit (21,273) (105,895) 254,971
Proceeds from issuance of short-term debt 350,000 608,250 0
Payments of short-term debt (550,000) (408,250) 0
Proceeds from issuance of long-term debt 0 203,000 471,906
Payments of long-term debt (30,045) (530,733) (559,711)
Contributions from noncontrolling interest owner 4,900 4,655 8,576
Distributions to noncontrolling interest owner (44,910) (25) (10,322)
Payments of debt issuance costs (8,108) (2,692) (898)
Dividends paid (24,609) (23,746) (23,004)
Proceeds from exercises of stock options 5,024 6,667 0
Common stock repurchased (12,721) 0 0
Other (2,988) 0 (5,222)
Net cash (used in) provided by financing activities (334,730) (248,769) 136,296
Effect of exchange rates on cash and cash equivalents (660) (108) (880)
(Decrease) increase in Cash and cash equivalents (101,175) 187,321 (25,772)
Cash and cash equivalents at beginning of year 216,444 29,123 54,895
Cash and cash equivalents at end of year $ 115,269 $ 216,444 $ 29,123