XML 20 R8.htm IDEA: XBRL DOCUMENT v3.7.0.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Feb. 28, 2017
Feb. 29, 2016
Operating activities:    
Net income $ 24,118 $ 25,731
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 3,298 3,311
Net gains on sales and disposals of property and equipment (101) (15)
Deferred income taxes 155 (407)
Excess tax benefits from settlements of stock-based equity awards (936) (1,544)
Stock-based compensation 2,959 1,889
Unrealized foreign currency exchange losses (gains), net 1,153 (1,116)
Provision for bad debts (102) 97
Changes in assets and liabilities:    
Trade and other accounts receivable (4,088) (14,828)
Inventories (6,582) (4,858)
Other assets (1,459) (660)
Accounts payable and accrued liabilities 4,793 3,199
Accrued payroll and related expenses (11,727) (3,948)
Income taxes payable 2,302 3,346
Other long-term liabilities (36) 84
Net cash provided by operating activities 13,747 10,281
Investing activities:    
Purchases of property and equipment (12,896) (2,155)
Proceeds from sales of property and equipment 271 92
Purchases of short-term investments (17,212) (11,829)
Maturities of short-term investments 4,517 4,278
Net cash used in investing activities (25,320) (9,614)
Financing activities:    
Treasury stock purchases (18,718) (15,122)
Dividends paid (12,963) (11,591)
Proceeds from issuance of common stock 359 708
Excess tax benefits from settlements of stock-based equity awards 936 1,544
Net proceeds from revolving credit facility 26,233 14,541
Net cash used in financing activities (4,153) (9,920)
Effect of exchange rate changes on cash and cash equivalents (1,593) (2,333)
Net decrease in cash and cash equivalents (17,319) (11,586)
Cash and cash equivalents at beginning of period 50,891 53,896
Cash and cash equivalents at end of period $ 33,572 $ 42,310