v3.7.0.1
Consolidated Statements of Cash Flows (unaudited) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2017
Mar. 31, 2016
CASH FLOWS FROM OPERATING ACTIVITIES    
Net income (loss) $ (654) $ 155
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Depreciation 3,979 3,585
Amortization of intangibles 1,725 2,026
Amortization of debt issue costs 110 182
Stock based compensation – options, restricted stock and warrants 1,130 703
Provision for bad debts 3,783 2,663
Changes in assets and liabilities, net:    
(Increase) in accounts receivable, net of write-offs (9,989) (3,809)
(Increase) decrease in inventories 283 (225)
(Increase) in prepaid expenses (1,321) (401)
Decrease in other current assets 6  
Increase (decrease) in accounts payable and other liabilities (738) 2,180
Net cash provided by (used in) operating activities (1,686) 7,059
CASH FLOWS FROM INVESTING ACTIVITIES    
Purchases of property and equipment (3,007) (1,001)
Net cash used in investing activities (3,007) (1,001)
CASH FLOWS FROM FINANCING ACTIVITIES    
Advances from revolving credit facility, net 5,006  
Repayment to revolving credit facility   (10,044)
Repayment of capital lease obligations/loans (1,263) (1,372)
Repayment on term loan, net (932) (7)
Issuance of common stock for the exercise of options, warrants and ESPP shares 505 1,298
Payments of equity issue costs (112) (97)
Net cash provided by (used in) financing activities 3,204 (10,222)
Net change in cash and cash equivalents (1,489) (4,164)
Cash and cash equivalent, beginning of period 12,525 23,420
Cash and cash equivalents, end of period 11,036 19,256
Supplemental disclosure of cash flow information:    
Interest paid 1,257 1,416
Income taxes paid 5 207
Supplemental disclosure of non-cash investing and financing information:    
Equipment acquired under capital lease/loan obligations 1,898 173
Deemed dividends on preferred stock 894 1,840
Amortization of preferred stock beneficial conversion feature $ 1,672 $ 3,727

Source