XML 19 R8.htm IDEA: XBRL DOCUMENT v3.7.0.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
May 31, 2017
May 31, 2016
Operating activities:    
Net income $ 38,562 $ 38,396
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 5,005 4,893
Net gains on sales and disposals of property and equipment (109) (30)
Deferred income taxes (101) (601)
Excess tax benefits from settlements of stock-based equity awards (1,432) (1,618)
Stock-based compensation 3,543 2,518
Unrealized foreign currency exchange losses 872 214
Provision for bad debts (141) 15
Changes in assets and liabilities:    
Trade and other accounts receivable (1,915) (7,229)
Inventories (4,926) (1,533)
Other assets 1,660 2,258
Accounts payable and accrued liabilities (125) 2,963
Accrued payroll and related expenses (9,629) 507
Income taxes payable 702 3,294
Other long-term liabilities (246) 112
Net cash provided by operating activities 31,720 44,159
Investing activities:    
Purchases of property and equipment (15,410) (3,311)
Proceeds from sales of property and equipment 403 195
Purchases of short-term investments (26,815) (22,920)
Maturities of short-term investments 4,517 6,516
Net cash used in investing activities (37,305) (19,520)
Financing activities:    
Treasury stock purchases (26,227) (24,691)
Dividends paid (19,896) (17,647)
Proceeds from issuance of common stock 548 821
Excess tax benefits from settlements of stock-based equity awards 1,432 1,618
Net proceeds from revolving credit facility 32,000 10,000
Net cash used in financing activities (12,143) (29,899)
Effect of exchange rate changes on cash and cash equivalents (958) (1,263)
Net decrease in cash and cash equivalents (18,686) (6,523)
Cash and cash equivalents at beginning of period 50,891 53,896
Cash and cash equivalents at end of period $ 32,205 $ 47,373