XML 26 R9.htm IDEA: XBRL DOCUMENT v3.22.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Cash flows from operating activities:      
Net loss $ (25,526) $ (80,696) $ (12,946)
Adjustments to reconcile net loss to net cash provided by (used in) operations:      
Impairments and other non-cash charges 0 25,072 11,422
Depreciation and amortization 42,225 45,314 47,144
Stock-based compensation expense 7,926 6,578 11,640
Provision for deferred income taxes (1,209) (18,850) (4,250)
Credit loss expense 664 1,427 1,792
Gain on sale of assets (7,182) (6,531) (10,801)
Gain on insurance recovery (849) 0 0
(Gain) loss on extinguishment of debt 1,000 (419) 0
Amortization of original issue discount and debt issuance costs 3,707 5,152 6,188
Change in assets and liabilities:      
(Increase) decrease in receivables (61,283) 70,994 40,182
(Increase) decrease in inventories (10,336) 39,889 699
Increase in other assets (726) (686) (1,032)
Increase (decrease) in accounts payable 36,341 (29,457) (8,318)
Increase (decrease) in accrued liabilities and other 12,235 (1,996) (9,434)
Net cash provided by (used in) operating activities (3,013) 55,791 72,286
Cash flows from investing activities:      
Capital expenditures (21,793) (15,794) (44,806)
Business acquisitions, net of cash acquired (13,434) 0 (18,692)
Proceeds from sale of property, plant and equipment 15,999 12,399 13,734
Proceeds from insurance property claim 1,753 0 0
Net cash used in investing activities (17,475) (3,395) (49,764)
Cash flows from financing activities:      
Borrowings on lines of credit 286,154 173,794 327,983
Payments on lines of credit (208,575) (221,781) (335,613)
Purchases of Convertible Notes (28,137) (29,124) 0
Payment on Convertible Notes (38,567) 0 0
Proceeds from term loan 8,258 0 0
Proceeds from financing obligation 8,004 0 0
Debt issuance costs (295) 0 (1,214)
Proceeds from employee stock plans 0 0 1,314
Purchases of treasury stock (1,448) (333) (21,737)
Other financing activities (3,986) (497) (259)
Net cash provided by (used in) financing activities 21,408 (77,941) (29,526)
Effect of exchange rate changes on cash (1,779) (970) (399)
Net decrease in cash, cash equivalents, and restricted cash (859) (26,515) (7,403)
Cash, cash equivalents, and restricted cash at beginning of year 30,348 56,863 64,266
Cash, cash equivalents, and restricted cash at end of year $ 29,489 $ 30,348 $ 56,863