Quarterly report pursuant to Section 13 or 15(d)

Condensed Consolidated Statements of Cash Flows (Unaudited)

v3.23.2
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Jul. 31, 2023
Jul. 31, 2022
Net income $ 22,399 $ 20,144
Adjustments to reconcile net income to net cash provided by operating activities:    
Non-cash operating lease expense 3,526 1,786
Foreign currency adjustments (1,421) 0
Depreciation 29,541 25,547
Deferred income taxes 4,140 2,210
Amortization of deferred financing costs 1,414 1,374
Amortization of intangible assets 14,336 16,958
Stock-based compensation expense 3,138 4,164
Change in fair value of warrant liabilities (6,639) (9,894)
Net gain on the sale of property, plant and equipment (1,472) (1,460)
Provision for bad debt (93) 239
Net changes in operating assets and liabilities:    
Trade receivables (3,199) (11,024)
Inventory (970) (265)
Prepaid expenses and other assets (875) (1,239)
Accounts payable (2,050) (2,311)
Accrued payroll, accrued expenses and other liabilities 4,457 7,498
Net cash provided by operating activities 66,232 53,727
Cash flows from investing activities:    
Purchases of property, plant and equipment (43,166) (80,967)
Proceeds from sale of property, plant and equipment 8,043 6,197
Purchases of intangible assets (800) (1,450)
Net cash used in investing activities (35,923) (76,220)
Cash flows from financing activities:    
Proceeds on revolving loan 239,911 252,925
Payments on revolving loan (256,345) (236,856)
Payment of debt issuance costs (550) (290)
Purchase of treasury stock (9,679) (1,394)
Other financing activities (81) (31)
Net cash provided by (used in) financing activities (26,744) 14,354
Effect of foreign currency exchange rate changes on cash 485 1,286
Net increase (decrease) in cash and cash equivalents 4,050 (6,853)
Cash and cash equivalents:    
Beginning of period 7,482 9,298
End of period 11,532 2,445
Supplemental cash flow information:    
Cash paid for interest 14,155 12,103
Cash paid for income taxes 258 409
Non-cash investing and financing activities:    
Equipment purchases included in accrued expenses and accounts payable 3,737 10,129
Operating lease right-of-use assets recorded upon adoption of ASC 842 0 18,625
Operating lease liabilities recorded upon adoption of ASC 842 0 18,593
Operating lease assets obtained in exchange for new operating lease liabilities $ 3,873 $ 3,296