XML 18 R5.htm IDEA: XBRL DOCUMENT v3.10.0.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Jul. 31, 2018
Jul. 31, 2017
Operating activities    
Net income $ 104,629 $ 206,874
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 81,549 73,055
Non-cash stock compensation 13,697 13,412
Provision for losses on accounts receivable 0 80
Deferred income taxes (23,862) 19,585
Change in assets and liabilities:    
Accounts receivable, net 7,947 (26,736)
Income taxes (32,915) 32,616
Inventories (29,291) (35,829)
Prepaid expenses and other assets (5,539) (7,181)
Accounts payable 17,249 7,655
Accrued expenses and other liabilities (29,559) 26,600
Total adjustments (724) 103,257
Net cash provided by operating activities 103,905 310,131
Investing activities    
Capital expenditures (216,587) (130,617)
Net proceeds from sale of property and equipment 892 409
Net cash used in investing activities (215,695) (130,208)
Financing activities    
Payments for debt issuance costs 0 (2,416)
Proceeds from issuance of restricted stock under stock compensation plans 1,119 732
Payments from issuance of common stock under stock compensation plans (5,717) (3,164)
Dividends paid (14,613) (10,916)
Net cash used in financing activities (19,211) (15,764)
Net change in cash and cash equivalents (131,001) 164,159
Cash and cash equivalents at beginning of period 419,285 234,111
Cash and cash equivalents at end of period 288,284 398,270
Supplemental disclosure of non-cash financing activity:    
Dividends payable $ (7,308) $ (5,459)