v3.21.2
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Cash flows from operating activities:    
Net lncome $ 46,496 $ 36,809
Adjustments to reconcile net loss to net cash provided by operating activities:    
Depreciation and amortization 71,546 50,056
Deferred income taxes 3,910 2,986
Loss on disposal of assets and impairment charges 1,898 5,565
Foreign currency (gain) loss (1,176) 436
Amortization of deferred financing costs, debt discount and premium 1,423 2,431
Amortization of deferred income (7,102) (5,998)
Accretion of asset retirement obligation 1,266 1,010
Non-cash rent 4,773 5,175
Charges to allowance for credit losses 450 74
(Income) loss from equity investment (105) 435
Share-based compensation 4,127 387
Fair value adjustment of financial assets and liabilities 9,237 0
Other operating activities, net 727 (496)
Changes in assets and liabilities:    
(Increase) decrease in trade receivables (19,692) 1,740
(Increase) decrease in inventory (17,733) 11,588
Increase in other assets (10,048) (6,647)
Increase (decrease) in accounts payable 25,161 (2,372)
Increase in other current liabilities (3,493) 17,058
Decrease in asset retirement obligation (128) (159)
Increase in non-current liabilities 1,024 6,420
Net cash provided by operating activities 119,547 126,498
Cash flows from investing activities:    
Purchase of property and equipment (48,123) (28,753)
Purchase of intangible assets (222) (30)
Proceeds from sale of property and equipment 36,685 438
Business acquisitions, net of cash (93,527) (320)
Loans to equity investment 0 (189)
Net cash used in investing activities (105,187) (28,854)
Cash flows from financing activities:    
Lines of credit, net 0 (83,063)
Repayment of related-party loans 0 (4,517)
Buyback of long-term debt 0 (1,995)
Receipt of long-term debt, net 41,366 159,507
Repayment of debt (105,291) (56,161)
Principal payments on financing leases (6,050) (6,143)
Proceeds from failed sale-leaseback 43,569 0
Proceeds from issuance of rights, net 0 11,332
Investment of non-controlling interest in subsidiary 0 19,325
Payment of Merger Transaction issuance costs (4,764) 0
Dividends paid on redeemable preferred stock (4,442) 0
Distributions to non-controlling interests (180) (7,093)
Net cash (used in) provided by financing activities (35,792) 31,192
Effect of exchange rate on cash and cash equivalents and restricted cash (1,440) 282
Net (decrease) increase in cash and cash equivalents and restricted cash (21,432) 128,836
Cash and cash equivalents and restricted cash, beginning of period 312,977 52,763
Cash and cash equivalents and restricted cash, end of period 290,105 181,881
Reconciliation of cash and cash equivalents and restricted cash    
Cash and cash equivalents, beginning of period 293,666 32,117
Restricted cash, beginning of period 16,529 14,423
Restricted cash with respect to bonds, beginning of period 2,782 6,223
Cash and cash equivalents, end of period 275,185 165,785
Restricted cash, end of period 14,920 13,950
Restricted cash with respect to bonds, end of period 0 2,146
Supplementary cash flow information:    
Cash received for interest 403 887
Cash paid for interest 42,549 27,040
Cash received for taxes 176 864
Cash paid for taxes 12,246 708
Supplementary noncash activities:    
Prepaid insurance premiums financed through notes payable 4,900 5,034
Purchases of equipment in accounts payable and accrued expenses 4,345 5,471
Purchase of property and equipment under leases 26,333 4,057
Disposals of leases of property and equipment 4,121 3,831
Issuance of shares 3,000 0
Receipt of related-party receivable payment offset by related-party loan payments $ 0 $ 7,133

Source