XML 19 R8.htm IDEA: XBRL DOCUMENT v3.19.3
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2019
Aug. 31, 2018
Aug. 31, 2017
Operating activities:      
Net income $ 55,908 $ 65,215 $ 52,930
Adjustments to reconcile net income to net cash provided by operating activities:      
Depreciation and amortization 7,593 7,800 6,769
Net gains on sales and disposals of property and equipment (99) (164) (115)
Deferred income taxes (4) (7,186) 1,608
Stock-based compensation 4,446 4,195 4,138
Unrealized foreign currency exchange losses (gains), net 651 (302) 364
Provision for bad debts 67 121 (138)
Changes in assets and liabilities:      
Trade accounts receivable (7,318) (5,635) 482
Inventories (4,800) (1,299) (3,487)
Other assets 5,802 (5,353) (3,514)
Accounts payable and accrued liabilities (7,948) 6,107 2,827
Accrued payroll and related expenses 879 590 (6,632)
Other long-term liabilities and income taxes payable 7,674 733 340
Net cash provided by operating activities 62,851 64,822 55,572
Investing activities:      
Purchases of property and equipment (13,282) (12,356) (20,150)
Proceeds from sales of property and equipment 383 458 430
Purchases of intangible assets   (175)  
Purchases of short-term investments   (83,704) (27,136)
Maturities of short-term investments 219 166,984 4,565
Net cash provided by (used in) investing activities (12,680) 71,207 (42,291)
Financing activities:      
Treasury stock purchases (29,625) (22,616) (31,109)
Dividends paid (32,889) (29,585) (26,808)
Proceeds from issuance of common stock   215 775
Proceeds from issuance of long-term senior notes   20,000  
Repayments of long-term senior notes (800) (400)  
Net (repayments) proceeds of revolving credit facility (2,912) (87,200) 32,000
Shares withheld to cover taxes upon conversion of equity awards (2,783) (1,823) (1,696)
Net cash used in financing activities (69,009) (121,409) (26,838)
Effect of exchange rate changes on cash and cash equivalents (2,795) (2,836) (252)
Net increase (decrease) in cash and cash equivalents (21,633) 11,784 (13,809)
Cash and cash equivalents at beginning of period 48,866 37,082 50,891
Cash and cash equivalents at end of period 27,233 48,866 37,082
Cash paid for:      
Interest 2,199 4,286 2,625
Income taxes, net of tax refunds received $ 16,879 $ 10,478 $ 21,933