XML 100 R7.htm IDEA: XBRL DOCUMENT v3.8.0.1
CONSOLIDATED STATEMENTS OF CASH FLOWS (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Cash flows from operating activities:    
Net income $ 110,668 $ 107,845
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 4,902 4,993
Net foreign currency (gains) losses 1,086 (2,020)
Stock-based compensation 17,222 14,307
Deferred income taxes 4,467 1,169
Provision for bad debts 1,373 225
Tax benefits from stock-based compensation 0 2,344
Excess tax benefits from stock-based compensation 0 (2,344)
Other non-cash operating activities 314 430
Changes in assets and liabilities:    
Accounts receivable (964) (14,944)
Prepaid expenses, prepaid income taxes, and other assets 4,908 3,648
Accounts payable, accrued expenses, income taxes payable and other liabilities (4,448) 6,947
Deferred revenue (11,699) (13,562)
Net cash provided by operating activities 127,829 109,038
Cash flows from investing activities:    
Purchases of marketable securities 0 (683,748)
Maturities of marketable securities 0 669,216
Purchases of property, equipment and leasehold improvements (217) (2,151)
Payments for business acquisitions, net of cash acquired (33,700) (36,171)
Payments for capitalized computer software costs (299) (126)
Net cash used in investing activities (34,216) (52,980)
Cash flows from financing activities:    
Exercises of stock options 7,402 7,892
Repurchases of common stock (154,365) (295,642)
Payments of tax withholding obligations related to restricted stock (5,412) (4,346)
Deferred business acquisition payments (2,600) 0
Excess tax benefits from stock-based compensation 0 2,344
Proceeds from credit agreement 30,000 0
Payments of credit agreement issuance costs (351) 0
Net cash used in financing activities (125,326) (289,752)
Effect of exchange rate changes on cash and cash equivalents 834 (90)
Decrease in cash and cash equivalents (30,879) (233,784)
Cash and cash equivalents, beginning of period 101,954 318,336
Cash and cash equivalents, end of period 71,075 84,552
Supplemental disclosure of cash flow information:    
Income taxes paid, net 38,662 41,742
Interest paid 3,456 2,499
Supplemental disclosure of non-cash investing and financing activities:    
Change in purchases of property, equipment and leasehold improvements included in accounts payable and accrued expenses (31) 111
Change in repurchases of common stock included in accounts payable and accrued expenses $ (4,365) $ 4,358