XML 22 R8.htm IDEA: XBRL DOCUMENT v3.22.2
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Cash flows from operating activities:    
Net loss $ (5,231) $ (11,360)
Adjustments to reconcile net loss to net cash provided by (used in) operations:    
Impairment 7,905 0
Depreciation and amortization 20,563 21,493
Stock-based compensation expense 3,198 3,273
Provision for deferred income taxes (6,918) 402
Credit loss expense 447 230
Gain on sale of assets (2,001) (5,358)
Loss on extinguishment of debt 0 790
Amortization of original issue discount and debt issuance costs 587 2,068
Change in assets and liabilities:    
Increase in receivables (5,350) (5,594)
Increase in inventories (38,660) (209)
Increase in other assets (5,196) (2,236)
Increase in accounts payable 12,208 21,344
Increase (decrease) in accrued liabilities and other (4,563) 994
Net cash provided by (used in) operating activities (23,011) 25,837
Cash flows from investing activities:    
Capital expenditures (9,515) (10,477)
Proceeds from sale of property, plant and equipment 1,943 9,208
Net cash used in investing activities (7,572) (1,269)
Cash flows from financing activities:    
Borrowings on lines of credit 156,420 97,746
Payments on lines of credit (129,914) (100,469)
Purchases of Convertible Notes 0 (18,107)
Proceeds from term loan 3,754 8,258
Debt issuance costs (997) (196)
Purchases of treasury stock (2,537) (1,350)
Other financing activities 296 808
Net cash provided by (used in) financing activities 27,022 (13,310)
Effect of exchange rate changes on cash (1,412) (591)
Net increase (decrease) in cash, cash equivalents, and restricted cash (4,973) 10,667
Cash, cash equivalents, and restricted cash at beginning of period 29,489 30,348
Cash, cash equivalents, and restricted cash at end of period $ 24,516 $ 41,015