XML 26 R8.htm IDEA: XBRL DOCUMENT v3.10.0.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2018
Aug. 31, 2017
Aug. 31, 2016
Operating activities:      
Net income $ 65,215 $ 52,930 $ 52,628
Adjustments to reconcile net income to net cash provided by operating activities:      
Depreciation and amortization 7,800 6,769 6,465
Net gains on sales and disposals of property and equipment (164) (115) (75)
Deferred income taxes (7,186) 1,608 (2,227)
Stock-based compensation 4,195 4,138 3,655
Unrealized foreign currency exchange losses (gains), net (302) 364 (986)
Provision for bad debts 121 (138) 52
Changes in assets and liabilities:      
Trade accounts receivable (5,635) 482 (9,936)
Inventories (1,299) (3,487) (1,001)
Other assets (5,353) (3,514) 1,557
Accounts payable and accrued liabilities 6,107 2,827 2,871
Accrued payroll and related expenses 590 (6,632) 8,120
Other long-term liabilities and income taxes payable 733 340 4,179
Net cash provided by operating activities 64,822 55,572 65,302
Investing activities:      
Purchases of property and equipment (12,356) (20,150) (4,354)
Proceeds from sales of property and equipment 458 430 301
Purchase of intangible assets (175)    
Purchases of short-term investments (83,704) (27,136) (24,899)
Maturities of short-term investments 166,984 4,565 8,032
Net cash provided by (used in) investing activities 71,207 (42,291) (20,920)
Financing activities:      
Treasury stock purchases (22,616) (31,109) (32,131)
Dividends paid (29,585) (26,808) (23,669)
Proceeds from issuance of common stock 215 775 1,200
Proceeds from issuance of long-term senior notes 20,000    
Repayments of long-term senior notes (400)    
Net (repayments) proceeds from revolving credit facility (87,200) 32,000 14,000
Shares withheld to cover taxes upon conversion of equity awards (1,823) (1,696) (2,634)
Net cash used in financing activities (121,409) (26,838) (43,234)
Effect of exchange rate changes on cash and cash equivalents (2,836) (252) (4,153)
Net increase (decrease) in cash and cash equivalents 11,784 (13,809) (3,005)
Cash and cash equivalents at beginning of period 37,082 50,891 53,896
Cash and cash equivalents at end of period 48,866 37,082 50,891
Cash paid for:      
Interest 4,286 2,625 1,573
Income taxes, net of tax refunds received $ 10,478 $ 21,933 $ 16,494