XML 27 R9.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
Cash flows from operating activities:      
Net loss $ (20,834) $ (25,526) $ (80,696)
Adjustments to reconcile net loss to net cash provided by (used in) operations:      
Impairments and other non-cash charges 37,322 0 25,072
Depreciation and amortization 38,610 42,225 45,314
Stock-based compensation expense 6,861 7,926 6,578
Provision for deferred income taxes (3,384) (1,209) (18,850)
Credit loss expense 1,039 664 1,427
Gain on divestitures (3,596) 0 0
Gain on sale of assets (2,809) (7,182) (6,531)
Gain on insurance recovery 0 (849) 0
(Gain) loss on extinguishment of debt 0 1,000 (419)
Amortization of original issue discount and debt issuance costs 871 3,707 5,152
Change in assets and liabilities:      
(Increase) decrease in receivables (42,452) (61,283) 70,994
(Increase) decrease in inventories (46,909) (10,336) 39,889
Increase in other assets (855) (726) (686)
Increase (decrease) in accounts payable 10,781 36,341 (29,457)
Increase (decrease) in accrued liabilities and other 334 12,235 (1,996)
Net cash provided by (used in) operating activities (25,021) (3,013) 55,791
Cash flows from investing activities:      
Capital expenditures (28,273) (21,793) (15,794)
Proceeds from divestitures 71,286 0 0
Business acquisitions, net of cash acquired 0 (13,434) 0
Proceeds from sale of property, plant and equipment 3,217 15,999 12,399
Proceeds from insurance property claim 0 1,753 0
Net cash provided by (used in) investing activities 46,230 (17,475) (3,395)
Cash flows from financing activities:      
Borrowings on lines of credit 287,276 286,154 173,794
Payments on lines of credit (290,886) (208,575) (221,781)
Purchases of Convertible Notes 0 (28,137) (29,124)
Payment on Convertible Notes 0 (38,567) 0
Proceeds from term loan 3,754 8,258 0
Proceeds from financing obligation 0 8,004 0
Debt issuance costs (1,499) (295) 0
Purchases of treasury stock (20,248) (1,448) (333)
Other financing activities (3,327) (3,986) (497)
Net cash provided by (used in) financing activities (24,930) 21,408 (77,941)
Effect of exchange rate changes on cash (707) (1,779) (970)
Net decrease in cash, cash equivalents, and restricted cash (4,428) (859) (26,515)
Cash, cash equivalents, and restricted cash at beginning of year 29,489 30,348 56,863
Cash, cash equivalents, and restricted cash at end of year $ 25,061 $ 29,489 $ 30,348