XML 16 R6.htm IDEA: XBRL DOCUMENT v3.22.2.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Jul. 31, 2022
Aug. 01, 2021
Cash flows from operating activities:    
Net (loss) income $ (5,699) $ 2,250
Adjustments to reconcile net (loss) income to net cash provided by operating activities:    
Depreciation 1,770 1,726
Amortization 105 121
Stock-based compensation 252 274
Deferred income taxes (15) (323)
Gain sale of equipment (64)  
Foreign currency exchange (gain) loss (161) 3
Changes in assets and liabilities:    
Accounts receivable (2,643) 2,715
Inventories 2,644 (2,676)
Other current assets (955) (39)
Other assets 21 (556)
Accounts payable – trade 9,338 2,723
Deferred revenue 848 154
Accrued expenses and deferred compensation (413) (4,336)
Income taxes 281 (465)
Net cash provided by operating activities 5,309 1,571
Cash flows from investing activities:    
Capital expenditures (711) (1,953)
Proceeds from the sale of equipment 166  
Proceeds from the maturity of short-term investments (Held to Maturity)   1,967
Purchase of short-term and long-term investments (Held to Maturity)   (5,973)
Purchase of short-term investments (Available for Sale)   (4,031)
Proceeds from the sale of long-term investments (rabbi trust) 23  
Purchase of long-term investments (rabbi trust) (236) (403)
Net cash used in investing activities (758) (10,393)
Cash flows from financing activities:    
Dividends paid   (1,356)
Common stock repurchased   (723)
Common stock surrendered for withholding taxes payable   (50)
Payments of debt issuance costs (161)  
Net cash used in financing activities (161) (2,129)
Effect of exchange rate changes on cash and cash equivalents (66) 3
Increase (decrease) in cash and cash equivalents 4,324 (10,948)
Cash and cash equivalents at beginning of period 14,550 37,009
Cash and cash equivalents at end of period $ 18,874 $ 26,061