v3.21.2
Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Jul. 31, 2021
Jul. 31, 2020
Net income (loss) $ (18,505) $ (58,603)
Net loss (18,505) (58,603)
Adjustments to reconcile net loss to net cash provided by operating activities:    
Goodwill and intangibles impairment 0 57,944
Depreciation 21,169 19,537
Deferred income taxes (1,417) 92
Amortization of deferred financing costs 1,877 3,094
Amortization of intangible assets 20,517 25,290
Stock-based compensation expense 5,280 4,207
Change in fair value of warrant liabilities 11,195 (130)
Loss on extinguishment of debt 15,510 0
Net gain on the sale of property, plant and equipment (1,125) (944)
Payment of contingent consideration in excess of amounts established in purchase accounting 0 (526)
Net changes in operating assets and liabilities:    
Trade receivables, net 475 1,668
Inventory 122 (63)
Prepaid expenses and other current assets (1,331) (3,520)
Income taxes payable, net 750 (3,899)
Accounts payable (93) (1,489)
Accrued payroll, accrued expenses and other current liabilities 5,920 10,826
Net cash provided by operating activities 60,344 53,484
Cash flows from investing activities:    
Purchases of property, plant and equipment (34,558) (36,658)
Proceeds from sale of property, plant and equipment 5,070 6,392
Net cash used in investing activities (29,488) (30,266)
Cash flows from financing activities:    
Proceeds on long term debt 375,000 0
Payments on long term debt (381,206) (15,666)
Proceeds on revolving loan 201,125 206,420
Payments on revolving loan (202,977) (217,162)
Payment of debt issuance costs (8,464) 0
Payments on capital lease obligations (72) (67)
Purchase of treasury stock (330) (131)
Payment of contingent consideration established in purchase accounting 0 (1,161)
Net cash used in financing activities (16,924) (27,767)
Effect of foreign currency exchange rate on cash (464) 1,207
Net increase (decrease) in cash and cash equivalents 13,468 (3,342)
Cash and cash equivalents:    
Beginning of period 6,736 7,473
End of period 20,204 4,131
Supplemental cash flow information:    
Cash paid for interest 5,912 24,017
Cash paid for income taxes 841 343
Non-cash investing and financing activities:    
Equipment purchases included in accrued expenses and accounts payable $ 1,928 $ 2,397

Source