XML 21 R8.htm IDEA: XBRL DOCUMENT v3.21.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Cash flows from operating activities:    
Net loss $ (11,360) $ (38,392)
Adjustments to reconcile net loss to net cash provided by operations:    
Inventory impairments 0 8,996
Depreciation and amortization 21,493 22,915
Stock-based compensation expense 3,273 3,077
Provision for deferred income taxes 402 (11,418)
Credit loss expense 230 726
Gain on sale of assets (5,358) (2,163)
(Gain) loss on extinguishment of debt 790 (419)
Amortization of original issue discount and debt issuance costs 2,068 2,801
Change in assets and liabilities:    
(Increase) decrease in receivables (5,594) 66,510
(Increase) decrease in inventories (209) 7,512
Increase in other assets (2,236) (5,294)
Increase (decrease) in accounts payable 21,344 (26,577)
Increase (decrease) in accrued liabilities and other 994 (3,261)
Net cash provided by operating activities 25,837 25,013
Cash flows from investing activities:    
Capital expenditures (10,477) (10,655)
Proceeds from sale of property, plant and equipment 9,208 7,963
Net cash used in investing activities (1,269) (2,692)
Cash flows from financing activities:    
Borrowings on lines of credit 97,746 117,068
Payments on lines of credit (100,469) (116,207)
Purchases of Convertible Notes (18,107) (29,124)
Proceeds from term loan 8,258 0
Debt issuance costs (196) 0
Purchases of treasury stock (1,350) (326)
Other financing activities 808 2,480
Net cash used in financing activities (13,310) (26,109)
Effect of exchange rate changes on cash (591) (2,713)
Net increase (decrease) in cash, cash equivalents, and restricted cash 10,667 (6,501)
Cash, cash equivalents, and restricted cash at beginning of period 30,348 56,863
Cash, cash equivalents, and restricted cash at end of period $ 41,015 $ 50,362