XML 16 R6.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 income (loss) $ 65 $ (51,469)
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:    
Depreciation expense 6,742 9,222
Amortization of intangible assets 12,384 12,662
Inventory write down 827 2,617
Stock-based compensation expense 2,772 3,810
Loss on extinguishment of debt 0 5,094
Deferred income taxes (1,225) (320)
Noncash losses and other, net 3,068 3,909
Changes in operating assets and liabilities    
Accounts receivable—trade (25,322) (27,585)
Inventories (33,595) 21,463
Prepaid expenses and other assets 1,589 (5,153)
Cost and estimated profit in excess of billings (7,994) 165
Accounts payable, deferred revenue and other accrued liabilities (1,846) 24,262
Billings in excess of costs and estimated profits earned (8,024) 3,679
Net cash provided by (used in) operating activities (50,559) 2,356
Cash flows from investing activities    
Capital expenditures for property and equipment (3,570) (704)
Proceeds from sale of property and equipment 2,608 2,106
Payments related to business acquisitions and dispositions (485) (1,283)
Net cash provided by (used in) investing activities (1,447) 119
Cash flows from financing activities    
Borrowings on revolving Credit Facility 274,472 0
Repayments on revolving Credit Facility (240,899) (13,126)
Cash paid to repurchase 2025 Notes 0 (56,731)
Payment of capital lease obligations (570) (783)
Repurchases of stock (361) (141)
Net cash provided by (used in) financing activities 32,642 (70,781)
Effect of exchange rate changes on cash (590) 50
Net decrease in cash, cash equivalents and restricted cash (19,954) (68,256)
Cash, cash equivalents and restricted cash at beginning of period 46,858 128,617
Cash, cash equivalents and restricted cash at end of period 26,904 60,361
Noncash activities    
Operating lease right of use assets obtained in exchange for lease obligations 1,348 874
Finance lease right of use assets obtained in exchange for lease obligations $ 458 $ 228