XML 17 R5.htm IDEA: XBRL DOCUMENT v3.4.0.3
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Apr. 30, 2016
Apr. 30, 2015
Operating activities    
Net income $ 58,283 $ 137,749
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 40,847 35,007
Non-cash stock compensation 9,128 9,909
Deferred income taxes 28,783 5,281
Change in assets and liabilities:    
Accounts receivable, net (11,189) (631)
Income taxes 31,490 (15,063)
Inventories (12,169) (21,482)
Prepaid expenses and other assets (3,711) (5,740)
Accounts payable 1,407 36,000
Accrued expenses and other liabilities (35,145) (24,167)
Total adjustments 49,441 19,114
Net cash provided by operating activities 107,724 156,863
Investing activities    
Capital expenditures (67,326) (93,063)
Net proceeds from sale of property and equipment 401 101
Net cash used in investing activities (66,925) (92,962)
Financing activities    
Purchase of common stock 0 (55,193)
Principal payments on long-term debt (10,000) (10,000)
Proceeds from issuance of restricted stock under stock compensation plans 771 730
Payments from issuance of common stock under stock compensation plans (4,051) (8,959)
Tax benefit on vesting of restricted stock grants 3,910 2,630
Dividends paid (4,966) (5,094)
Net cash used in financing activities (14,336) (75,886)
Net change in cash and cash equivalents 26,463 (11,985)
Cash and cash equivalents at beginning of period 196,659 165,610
Cash and cash equivalents at end of period 223,122 153,625
Supplemental disclosure of non-cash financing activity:    
Dividends payable $ (4,966) $ (4,931)