XML 17 R5.htm IDEA: XBRL DOCUMENT v3.7.0.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Apr. 30, 2017
Apr. 30, 2016
Operating activities    
Net income $ 90,116 $ 58,283
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 46,920 40,847
Non-cash stock compensation 9,379 9,128
Deferred income taxes 21,701 28,783
Change in assets and liabilities:    
Accounts receivable, net (14,184) (11,189)
Income taxes (15,642) 31,490
Inventories (14,490) (12,169)
Prepaid expenses and other assets (7,525) (3,711)
Accounts payable 6,714 1,407
Accrued expenses and other liabilities (6,219) (35,145)
Total adjustments 26,654 49,441
Net cash provided by operating activities 116,770 107,724
Investing activities    
Capital expenditures (96,635) (67,326)
Net proceeds from sale of property and equipment 319 401
Net cash used in investing activities (96,316) (66,925)
Financing activities    
Principal payments on long-term debt 0 (10,000)
Payments for debt issuance costs (2,416) 0
Proceeds from issuance of restricted stock under stock compensation plans 475 771
Payments from issuance of common stock under stock compensation plans (3,068) (4,051)
Tax benefit on vesting of restricted stock grants 2,183 3,910
Dividends paid (5,458) (4,966)
Net cash used in financing activities (8,284) (14,336)
Net change in cash and cash equivalents 12,170 26,463
Cash and cash equivalents at beginning of period 234,111 196,659
Cash and cash equivalents at end of period 246,281 223,122
Supplemental disclosure of non-cash financing activity:    
Dividends payable $ (5,458) $ (4,966)