XML 23 R8.htm IDEA: XBRL DOCUMENT v3.19.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2019
Jun. 30, 2018
Jun. 30, 2017
Cash flows from operating activities      
Net income (loss) $ 37,209 $ 27,420 $ (459)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:      
Depreciation and amortization expense 71,400 75,260 74,280
Stock-based compensation expense 16,676 20,817 22,598
Deferred income taxes 3,693 (4,015) (7,065)
Provision for doubtful accounts 6,325 4,089 4,512
Impairment of investment in Web International Education Group, Ltd.     10,000
Other 3,985 4,822 4,286
Changes in assets and liabilities:      
Accounts receivable (21,637) 11,987 (27,745)
Inventories, prepaid expenses, deposits and other current and long-term assets (3,321) (28,491) 11,343
Accounts payable 20,174 (2,336) 5,317
Accrued liabilities 8,295 (6,273) (4,963)
Accrued compensation and benefits 5,948 6,672 (1,674)
Deferred revenue, rent and other liabilities (7,141) (4,506) (1,702)
Net cash provided by operating activities 141,606 105,446 88,728
Cash flows from investing activities      
Purchase of property and equipment (5,477) (8,743) (2,174)
Capitalized software development costs (26,318) (24,533) (26,918)
Capitalized curriculum development costs (16,611) (9,927) (19,132)
Sale of long-lived assets 389   89
Acquisitions and investments (13,092) (7,274) (9,063)
Net cash used in investing activities (61,109) (50,477) (57,198)
Cash flows from financing activities      
Repayments on capital lease obligations (21,034) (13,301) (15,697)
Payments of contingent consideration (1,027) (1,819)  
Purchase of treasury stock   (27,482)  
Proceeds from exercise of stock options 3,030 196 6,953
Excess tax benefit from stock-based compensation     291
Repurchase of restricted stock for income tax withholding (9,958) (10,314) (6,191)
Net cash used in financing activities (28,989) (52,720) (14,644)
Effect of foreign exchange rate changes on cash, cash equivalents and restricted cash     (11)
Net change in cash, cash equivalents and restricted cash 51,508 2,249 16,875
Cash, cash equivalents and restricted cash, beginning of period 233,113 230,864 213,989
Cash, cash equivalents and restricted cash, end of period $ 284,621 $ 233,113 $ 230,864