XML 19 R8.htm IDEA: XBRL DOCUMENT v3.8.0.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Nov. 30, 2017
Nov. 30, 2016
Operating activities:    
Net income $ 12,630 $ 11,758
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 1,917 1,620
Net gains on sales and disposals of property and equipment (45) (54)
Deferred income taxes 261 (405)
Stock-based compensation 1,777 1,622
Unrealized foreign currency exchange losses 150 1,075
Provision for bad debts (21) (120)
Changes in assets and liabilities:    
Trade accounts receivable 217 6,357
Inventories (1,459) (2,876)
Other assets 3,219 1,070
Accounts payable and accrued liabilities (3,994) 203
Accrued payroll and related expenses (1,500) (7,194)
Income taxes payable (492) 2,619
Other long-term liabilities (81) (45)
Net cash provided by operating activities 12,579 15,630
Investing activities:    
Purchases of property and equipment (1,009) (11,603)
Proceeds from sales of property and equipment 116 162
Purchase of intangible assets (175)  
Purchases of short-term investments (103) (16,997)
Maturities of short-term investments   4,548
Net cash used in investing activities (1,171) (23,890)
Financing activities:    
Treasury stock purchases (3,893) (12,156)
Dividends paid (6,888) (5,998)
Proceeds from issuance of common stock 215 197
Proceeds from issuance of long-term senior notes 20,000  
Net (repayments) proceeds from revolving credit facility (10,000) 12,354
Shares withheld to cover taxes upon conversions of equity awards (1,763) (1,692)
Net cash used in financing activities (2,329) (7,295)
Effect of exchange rate changes on cash and cash equivalents 771 (1,854)
Net increase (decrease) in cash and cash equivalents 9,850 (17,409)
Cash and cash equivalents at beginning of period 37,082 50,891
Cash and cash equivalents at end of period $ 46,932 $ 33,482