XML 17 R5.htm IDEA: XBRL DOCUMENT v3.5.0.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Jul. 31, 2016
Jul. 31, 2015
Operating activities    
Net income $ 112,999 $ 188,630
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 62,334 54,485
Non-cash stock compensation 12,472 13,004
Provision for losses on accounts receivable 0 120
Deferred income taxes 27,706 5,760
Change in assets and liabilities:    
Accounts receivable, net (5,703) 6,726
Income taxes 28,648 (30,715)
Inventories (28,924) (12,329)
Prepaid expenses and other assets (4,053) (5,432)
Accounts payable 10,693 11,167
Accrued expenses and other liabilities (25,079) 6,531
Total adjustments 78,094 49,317
Net cash provided by operating activities 191,093 237,947
Investing activities    
Capital expenditures (126,067) (140,439)
Net proceeds from sale of property and equipment 451 387
Net cash used in investing activities (125,616) (140,052)
Financing activities    
Purchase of common stock 0 (55,193)
Principal payments on long-term debt (10,000) (10,000)
Payments for debt issuance costs 0 (1,960)
Proceeds from issuance of restricted stock under stock compensation plans 1,020 967
Payments from issuance of common stock under stock compensation plans (4,153) (9,084)
Tax benefit on vesting of restricted stock grants 3,910 2,630
Dividends paid (9,933) (10,025)
Net cash used in financing activities (19,156) (82,665)
Net change in cash and cash equivalents 46,321 15,230
Cash and cash equivalents at beginning of period 196,659 165,610
Cash and cash equivalents at end of period 242,980 180,840
Supplemental disclosure of non-cash financing activity:    
Dividends payable $ (4,967) $ (4,931)