XML 26 R8.htm IDEA: XBRL DOCUMENT v3.5.0.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Jul. 31, 2016
Aug. 02, 2015
Cash flows from operating activities:    
Net income (loss) $ 32,026 $ (588)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Depreciation and amortization 32,107 38,038
Deferred financing cost amortization 1,431 1,006
Share-based compensation expense 7,711 7,702
Gain from bargain purchase (1,864) 0
Gain on sale of assets and asset recovery (1,704) (15)
Provision for (recovery of) doubtful accounts 1,515 (645)
Provision for deferred income taxes 1,573 5,625
Excess tax benefits from share-based compensation arrangements (867) (706)
Changes in operating assets and liabilities, net of effect of acquisitions:    
Accounts receivable (10,102) 13,254
Inventories (25,309) (1,910)
Income taxes receivable 0 (2,634)
Prepaid expenses and other 1,150 1,071
Accounts payable 499 493
Accrued expenses 2,550 (22,106)
Other, net (117) 6
Net cash provided by operating activities 40,599 38,591
Cash flows from investing activities:    
Acquisitions, net of cash acquired (4,343) (247,123)
Capital expenditures (15,140) (15,330)
Proceeds from sale of property, plant and equipment 5,479 28
Net cash used in investing activities (14,004) (262,425)
Cash flows from financing activities:    
Deposit of restricted cash (44) 0
Proceeds from stock options exercised 12,055 354
Issuance of debt 0 250,000
Payments on term loan (30,000) (31,240)
Payments on note payable (974) (1,103)
Payment of financing costs 0 (9,218)
Excess tax benefits from share-based compensation arrangements 867 706
Purchases of treasury stock (57,401) (3,273)
Net cash (used in) provided by financing activities (75,497) 206,226
Effect of exchange rate changes on cash and cash equivalents (50) (766)
Net decrease in cash and cash equivalents (48,952) (18,374)
Cash and cash equivalents at beginning of period 99,662 66,651
Cash and cash equivalents at end of period $ 50,710 $ 48,277