XML 61 R6.htm IDEA: XBRL DOCUMENT v3.19.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Jul. 31, 2019
Jul. 31, 2018
CASH FLOWS FROM OPERATING ACTIVITIES:    
Net income (loss) $ (6,295) $ 19,935
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 35,010 33,775
Restructuring 1,610 672
Amortization of deferred financing costs 1,033 935
Deferred income taxes 232 (2,251)
Stock-based compensation expense 1,576 1,557
(Gain) loss on sale of assets (3,562) 2,300
Loss on marketable securities 29 154
Changes in operating assets and liabilities:    
Accounts receivable, net 30,213 18,599
Inventories, net 3,900 (2,656)
Prepaids and other assets (1,564) (4,884)
Payables and other liabilities (30,965) (6,989)
Prepaid and accrued income taxes (6,863) (10,266)
Net cash provided by operating activities 24,354 50,881
CASH FLOWS FROM INVESTING ACTIVITIES:    
Capital expenditures (48,643) (38,668)
Proceeds from sale of marketable securities 14 0
Acquisitions, net of cash required 0 (62,481)
Derivative settlements 5,855 0
Proceeds from sale of assets 12,339 2,696
Net cash used for investing activities (30,435) (98,453)
CASH FLOWS FROM FINANCING ACTIVITIES:    
Payment of capital leases (495) (667)
Proceeds from long-term borrowings 223,400 218,300
Repayments of long-term borrowings (220,000) (161,793)
Payment of deferred financing costs (1,948) (105)
Proceeds from exercise of stock options 0 41
Net cash provided by financing activities 957 55,776
Effect of foreign currency exchange rate fluctuations on cash 217 336
Net increase (decrease) in cash and cash equivalents (4,907) 8,540
Cash and cash equivalents at beginning of period 16,843 8,736
Cash and cash equivalents at end of period $ 11,936 $ 17,276