XML 25 R11.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
Operating activities:      
Net income (loss) $ 103,602 $ (98,933) $ (160,500)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:      
Depreciation, amortization, and accretion 33,532 118,747 124,278
(Gain on sale) or loss on disposal of discontinued operations (120,137) 0 7,500
Impairments and other charges 581 20,940 95,196
Impairment of goodwill 0 0 25,784
Unrealized loss on CSI Compressco units 2,227 0 0
Realized gain on sale of Standard Lithium shares (15,479) 0 0
Equity-based compensation expense 4,664 6,616 8,127
(Recovery of) provision for doubtful accounts (654) 6,857 5,039
Amortization and expense of financing costs 3,091 5,252 4,782
CSI Compressco debt exchange expenses 0 4,892 0
CSI Compressco Series A Preferred Unit distributions and adjustments 0 0 (3,574)
Gain on sale of assets (482) (4,668) (2,333)
Other non-cash charges and credits (805) (706) (4,692)
Changes in operating assets and liabilities, net of assets acquired:       
Accounts receivable (27,795) 62,569 6,471
Inventories 5,387 16,983 (2,770)
Prepaid expenses and other current assets (6,533) 1,672 579
Trade accounts payable and accrued expenses 27,006 (62,274) (16,545)
Other (3,548) (1,035) (4,258)
Net cash provided by operating activities 4,657 76,912 90,232
Investing activities:      
Purchases of property, plant, and equipment, net (20,533) (29,386) (108,273)
Acquisition of businesses, net of cash acquired 0 0 (12,024)
Purchase of CarbonFree convertible note (5,000) 0 0
Proceeds from sale of investment 17,627 0 0
Proceeds from sale of property, plant, and equipment 1,687 36,168 12,885
Proceeds from insurance recoveries associated with damaged equipment 110 643 1,771
Other investing activities 934 (1,387) (801)
Net cash provided by (used in) investing activities (5,175) 6,038 (106,442)
Financing activities:      
Proceeds from long-term debt 1,614 477,647 282,590
Principal payments on long-term debt (50,477) (487,574) (258,217)
Distributions to CSI Compressco public unitholders 0 (1,244) (1,233)
Redemptions of CSI Compressco Series A Preferred 0 0 (28,049)
Debt issuance costs and other financing activities (1,191) (6,458) (1,016)
Net cash used in financing activities (50,054) (17,629) (5,925)
Effect of exchange rate changes on cash (1,771) 805 (199)
Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Period Increase (Decrease), Including Exchange Rate Effect (52,343) 66,126 (22,334)
Cash and cash equivalents and restricted cash at beginning of period 83,894 17,768 40,102
Cash and cash equivalents at beginning of period associated with discontinued operations 16,577 2,370 15,858
Cash and cash equivalents and restricted cash at beginning of period associated with continuing operations 67,317 15,398 24,244
Cash and cash equivalents and restricted cash at end of period 31,551 83,894 17,768
Cash and cash equivalents and restricted cash at end of period associated with discontinued operations 0 16,577 2,370
Cash and cash equivalents and restricted cash at end of period associated with continuing operations $ 31,551 $ 67,317 $ 15,398