XML 43 R7.htm IDEA: XBRL DOCUMENT v3.10.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
May 31, 2018
May 31, 2017
May 31, 2016
Cash flows from operating activities:      
Net income (loss) $ 16,335 $ 5,008 $ (43,590)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:      
Depreciation and amortization 23,163 24,811 28,115
Stock based compensation 7,912 6,183 3,240
Change in fair value of contingent consideration 250 (15,261) 948
Deferred income tax provision (8,947) 4,428 39,983
Changes in accounts receivable allowances 179 (313) 2,377
Fixed and intangible asset impairments and disposals 540 3,930 1,190
Write-off of other assets 0 2,685 0
Other (605) (586) 90
Changes in operating assets and liabilities:      
Accounts receivable 5,044 8,479 3,131
Inventories 5,740 687 11,976
Prepaid expenses and other (1,231) (3,520) 712
Accounts payable, accrued and other liabilities (7,093) 19,214 (2,956)
Net cash provided by operating activities 41,287 55,745 45,216
Cash flows from investing activities:      
Additions to property, plant and equipment (2,391) (3,001) (2,326)
Acquisition of intangibles (1,265) 0 (3,268)
Acquisition of warrants 0 0 (2,000)
Proceeds from sale or maturity of marketable securities 0 450 25
Net cash used in investing activities (3,656) (2,551) (7,569)
Cash flows from financing activities:      
Proceeds from issuance of and borrowings on long-term debt 0 116,471 0
Repayment of long-term debt (5,000) (140,381) (16,250)
Deferred financing costs on long-term debt 0 (1,364) 0
Payment of acquisition related contingent consideration (9,500) (9,850) (9,850)
Repurchase of common stock 0 (13,557) 0
Proceeds from exercise of stock options and employee stock purchase plan 2,949 10,698 2,437
Net cash used in financing activities (11,551) (37,983) (23,663)
Effect of exchange rate changes on cash and cash equivalents 472 0 (42)
Increase in cash and cash equivalents 26,552 15,211 13,942
Cash and cash equivalents at beginning of year 47,544 32,333 18,391
Cash and cash equivalents at end of year 74,096 47,544 32,333
Supplemental disclosure of non-cash investing and financing activities:      
Contractual obligations for purchase of fixed assets 56 26 75
Cash paid (received) during the year for:      
Interest 3,190 2,969 3,063
Income taxes $ 36 $ (102) $ 332