Quarterly report pursuant to Section 13 or 15(d)

Consolidated Statements of Cash Flows (Unaudited)

v3.22.2.2
Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Jul. 31, 2022
Jul. 31, 2021
Net income (loss) $ 20,144 $ (18,505)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Depreciation 25,547 21,169
Deferred income taxes 2,210 (1,417)
Amortization of deferred financing costs 1,374 1,877
Amortization of intangible assets 16,958 20,517
Stock-based compensation expense 4,164 5,280
Change in fair value of warrant liabilities (9,894) 11,195
Loss on extinguishment of debt 0 15,510
Net gain on the sale of property, plant and equipment (1,460) (1,125)
Net changes in operating assets and liabilities:    
Trade receivables, net (10,784) 475
Inventory (265) 122
Prepaid expenses and other current assets (1,206) (1,331)
Income taxes payable, net (171) 750
Accounts payable (2,311) (93)
Accrued payroll, accrued expenses and other current liabilities 9,421 5,920
Net cash provided by operating activities 53,727 60,344
Cash flows from investing activities:    
Purchases of property, plant and equipment (80,967) (34,558)
Proceeds from sale of property, plant and equipment 6,197 5,070
Purchases of intangible assets (1,450) 0
Net cash used in investing activities (76,220) (29,488)
Cash flows from financing activities:    
Proceeds on long term debt 0 375,000
Payments on long term debt 0 (381,206)
Proceeds on revolving loan 252,925 201,125
Payments on revolving loan (236,856) (202,977)
Payment of debt issuance costs (290) (8,464)
Payments on capital lease obligations (76) (72)
Purchase of treasury stock (1,394) (330)
Proceeds on exercise of options 45 0
Net cash provided by (used in) financing activities 14,354 (16,924)
Effect of foreign currency exchange rate on cash 1,286 (464)
Net increase (decrease) in cash and cash equivalents (6,853) 13,468
Cash and cash equivalents:    
Beginning of period 9,298 6,736
End of period 2,445 20,204
Supplemental cash flow information:    
Cash paid for interest 12,103 5,912
Cash paid for income taxes 409 841
Non-cash investing and financing activities:    
Equipment purchases included in accrued expenses and accounts payable $ 10,129 $ 1,928