Quarterly report pursuant to Section 13 or 15(d)

Consolidated Statements of Cash Flows (Unaudited)

v3.22.1
Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Apr. 30, 2022
Apr. 30, 2021
Net income (loss) $ 7,168 $ (23,143)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Depreciation 16,843 13,991
Deferred income taxes 236 (2,926)
Amortization of deferred financing costs 916 1,419
Amortization of intangible assets 11,471 13,853
Stock-based compensation expense 2,831 4,022
Change in fair value of warrant liabilities (2,474) 11,456
Loss on extinguishment of debt 0 15,510
Net gain on the sale of property, plant and equipment (910) (869)
Net changes in operating assets and liabilities:    
Trade receivables, net (8,331) 3,135
Inventory (553) 161
Prepaid expenses and other current assets (3,849) (3,377)
Income taxes payable, net 75 750
Accounts payable (1,249) (145)
Accrued payroll, accrued expenses and other current liabilities (783) 2,359
Net cash provided by operating activities 21,391 36,196
Cash flows from investing activities:    
Purchases of property, plant and equipment (60,332) (16,672)
Proceeds from sale of property, plant and equipment 4,636 3,687
Purchases of intangible assets (1,450) 0
Net cash used in investing activities (57,146) (12,985)
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 179,933 138,239
Payments on revolving loan (150,759) (139,004)
Payment of debt issuance costs 0 (8,464)
Payments on capital lease obligations (50) (47)
Purchase of treasury stock (1,012) (330)
Proceeds on exercise of options 45 0
Net cash provided by (used in) financing activities 28,157 (15,812)
Effect of foreign currency exchange rate on cash 970 (421)
Net increase (decrease) in cash and cash equivalents (6,628) 6,978
Cash and cash equivalents:    
Beginning of period 9,298 6,736
End of period 2,670 13,714
Supplemental cash flow information:    
Cash paid for interest 11,589 5,908
Cash paid for income taxes 145 953
Non-cash investing and financing activities:    
Equipment purchases included in accrued expenses and accounts payable $ 6,335 $ 2,029