XML 22 R8.htm IDEA: XBRL DOCUMENT v3.10.0.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Jun. 30, 2016
Cash flows from operating activities.      
Net income (loss) $ 27,420 $ (459) $ 8,551
Adjustments to reconcile net income (loss) to net cash provided by operating activities:      
Depreciation and amortization expense 75,260 74,280 68,225
Stock-based compensation expense 20,817 22,598 18,616
Deferred income taxes (4,015) (7,065) (3,818)
Provision for doubtful accounts 4,089 4,512 4,610
Impairment of investment in Web International Education Group, Ltd   10,000  
Other 4,822 4,286 3,051
Changes in assets and liabilities:      
Accounts receivable 11,987 (27,745) 14,463
Inventories, prepaid expenses and other current assets (3,801) 1,323 2,939
Deposits and other assets (24,690) 10,020 (8,910)
Accounts payable (2,336) 5,317 (3,900)
Accrued liabilities (8,092) (4,963) 15,497
Accrued compensation and benefits 6,672 (1,674) 4,255
Deferred revenue (2,077) (1,135) 636
Deferred rent and other liabilities (2,429) (567) (2,437)
Net cash provided by operating activities 103,627 88,728 121,778
Cash flows from investing activities      
Purchase of property and equipment (8,743) (2,174) (5,008)
Capitalized software development costs (24,533) (26,918) (36,265)
Capitalized curriculum development costs (9,927) (19,132) (21,627)
Acquisitions and investments (7,274) (9,063) (19,953)
Sale of trade name   89  
Net cash used in investing activities (50,477) (57,198) (82,853)
Cash flows from financing activities      
Repayments on capital lease obligations (13,301) (15,697) (17,402)
Purchase of treasury stock (27,482)    
Proceeds from exercise of stock options 196 6,953 14
Excess tax benefit from stock-based compensation   291 6
Repurchase of restricted stock for income tax withholding (10,314) (6,191) (3,394)
Net cash used in financing activities (50,901) (14,644) (20,776)
Effect of foreign exchange rate changes on cash, cash equivalents and restricted cash   (11) (12)
Net change in cash, cash equivalents and restricted cash 2,249 16,875 18,137
Cash, cash equivalents and restricted cash, beginning of period 230,864 213,989 195,852
Cash, cash equivalents and restricted cash, end of period $ 233,113 $ 230,864 $ 213,989