XML 17 R7.htm IDEA: XBRL DOCUMENT v3.8.0.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Oct. 28, 2017
Oct. 29, 2016
Operating activities    
Net income (loss) $ 2,346 $ (15,814)
Adjustments to reconcile net income (loss) to cash provided by (used in) operating activities:    
Depreciation and amortization 3,692 3,401
Loss from equity method investments   111
Impairment of long-lived assets 255  
Impairment of intangible assets and goodwill 1,021  
Provision for doubtful accounts 943 119
(Gains) losses on foreign currency transactions (108) 269
Deferred income taxes (1,093) (329)
Stock-based compensation 2,608 1,813
Tax benefit from exercise of stock options   22
Loss (Gain) on disposition of property and equipment 15 (7)
Amortization of held-to-maturity investments 897 1,259
Changes in operating assets and liabilities:    
Accounts receivable 38,440 29,562
Unbilled receivables and retentions 626 2,029
Inventories (15,963) (17,682)
Income tax receivable   (3,957)
Prepaid expenses and other assets 468 (555)
Accounts payable (4,739) 1,413
Other liabilities (5,289) (7,933)
Net cash provided by (used in) operating activities 24,119 (6,279)
Investing activities    
Acquisition of property and equipment (6,037) (4,514)
Redemptions of held-to-maturity investments 105,758 53,961
Purchases of held-to-maturity investments (88,763) (79,052)
Proceeds from the sale of property and equipment   7
Sales and redemptions of available-for-sale investments 450 400
Net cash provided by (used in) investing activities 11,408 (29,198)
Financing activities    
Principal payments of capital lease obligations (173) (192)
Tax withholding payment related to net settlement of equity awards (313)  
Exercise of stock options 2,164 258
Net cash provided by financing activities 1,678 66
Net increase (decrease) in cash and cash equivalents 37,205 (35,411)
Cash and cash equivalents at beginning of period 79,904 124,287
Cash and cash equivalents at end of period 117,109 88,876
Cash paid during the period for:    
Income taxes 1,803 1,786
Non-cash activities    
Unrealized gain on investments, net of deferred tax expense of $19 and $29, respectively 29 43
Reclassification from share-based liability compensation to equity 384 307
Acquisitions of property and equipment included in accounts payable $ 888 $ 704