XML 20 R8.htm IDEA: XBRL DOCUMENT v3.19.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
May 31, 2019
May 31, 2018
Operating activities:    
Net income $ 47,324 $ 43,578
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 5,710 5,849
Net gains on sales and disposals of property and equipment (72) (154)
Deferred income taxes 310 (7,025)
Stock-based compensation 3,947 3,674
Unrealized foreign currency exchange gains (658) (200)
Provision for bad debts 95 48
Changes in assets and liabilities:    
Trade accounts receivable (8,286) (6,285)
Inventories (6,841) (2,108)
Other assets 7,099 3,137
Accounts payable and accrued liabilities (8,458) (1,630)
Accrued payroll and related expenses (2,297) (3,328)
Other long-term liabilities and income taxes payable (1,602) 6,030
Net cash provided by operating activities 36,271 41,586
Investing activities:    
Purchases of property and equipment (8,701) (10,678)
Proceeds from sales of property and equipment 261 345
Purchase of intangible assets   (175)
Purchases of short-term investments   (84,540)
Maturities of short-term investments 220 168,651
Net cash (used in) provided by investing activities (8,220) 73,603
Financing activities:    
Treasury stock purchases (22,384) (17,784)
Dividends paid (24,468) (22,045)
Proceeds from issuance of common stock   215
Proceeds from issuance of long-term senior notes   20,000
Repayments of long-term senior notes (800) (400)
Net proceeds (repayments) of revolving credit facility 11,261 (5,458)
Shares withheld to cover taxes upon conversions of equity awards (2,433) (1,817)
Net cash used in financing activities (38,824) (27,289)
Effect of exchange rate changes on cash and cash equivalents (2,352) (1,644)
Net (decrease) increase in cash and cash equivalents (13,125) 86,256
Cash and cash equivalents at beginning of period 48,866 37,082
Cash and cash equivalents at end of period $ 35,741 $ 123,338