XML 19 R8.htm IDEA: XBRL DOCUMENT v3.10.0.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
May 31, 2018
May 31, 2017
Operating activities:    
Net income $ 43,578 $ 38,562
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 5,849 5,005
Net gains on sales and disposals of property and equipment (154) (109)
Deferred income taxes (7,025) (101)
Stock-based compensation 3,674 3,543
Unrealized foreign currency exchange (gains) losses, net (200) 872
Provision for bad debts 48 (141)
Changes in assets and liabilities:    
Trade accounts receivable (6,285) (1,915)
Inventories (2,108) (4,926)
Other assets 3,137 1,660
Accounts payable and accrued liabilities (1,630) (125)
Accrued payroll and related expenses (3,328) (7,937)
Other long-term liabilities and income taxes payable 6,030 456
Net cash provided by operating activities 41,586 34,844
Investing activities:    
Purchases of property and equipment (10,678) (15,410)
Proceeds from sales of property and equipment 345 403
Purchase of intangible assets (175)  
Purchases of short-term investments (84,540) (26,815)
Maturities of short-term investments 168,651 4,517
Net cash provided by (used in) investing activities 73,603 (37,305)
Financing activities:    
Treasury stock purchases (17,784) (26,227)
Dividends paid (22,045) (19,896)
Proceeds from issuance of common stock 215 548
Proceeds from issuance of long-term senior notes 20,000  
Repayments of long-term senior notes (400)  
Net (repayments) proceeds from revolving credit facility (5,458) 32,000
Shares withheld to cover taxes upon conversions of equity awards (1,817) (1,692)
Net cash used in financing activities (27,289) (15,267)
Effect of exchange rate changes on cash and cash equivalents (1,644) (958)
Net increase (decrease) in cash and cash equivalents 86,256 (18,686)
Cash and cash equivalents at beginning of period 37,082 50,891
Cash and cash equivalents at end of period $ 123,338 $ 32,205