XML 17 R6.htm IDEA: XBRL DOCUMENT v3.7.0.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Operating activities:    
Net loss $ (8,212) $ (11,850)
Adjustments to reconcile net loss to net cash (used in) provided by operating activities:    
Depreciation and amortization 3,738 7,381
Stock-based compensation 960 363
Interest expense related to amortization of debt discount and debt issuance costs 1,423 2,560
Provision for doubtful accounts (72) 470
Provision for excess and obsolete inventory 892 2,374
Deferred income tax expense (1) (26)
Gain on sale of assets (856)  
Other non-cash items 394 820
Changes in operating assets and liabilities:    
Restricted cash   2,200
Accounts receivable, net 5,458 2,933
Inventories, net (617) (78)
Prepaid expenses and other current assets 2,611 1,292
Other assets 317 162
Accounts payable (3,546) 3,077
Accrued expenses and other (9,210) (1,754)
Deferred revenues 246 148
Net cash (used in) provided by operating activities (6,475) 10,072
Investing activities:    
Purchases of property and equipment (5,348) (5,691)
Cash received from sale of equipment   1,316
Net cash used in investing activities (5,348) (4,375)
Financing activities:    
Borrowings under lines of credit 47,114 70,155
Repayments under lines of credit (50,669) (70,963)
Principal payments on capital lease obligations (293) (400)
Proceeds from sale of stock, net 17,630 58
Principal payments on notes payable and term loan (2,557) (4,605)
Net cash provided by (used in) financing activities 11,225 (5,755)
Effect of exchange rate changes on cash (47) (1,849)
Net decrease in cash (645) (1,907)
Cash at beginning of period, including discontinued operations 19,752 11,229
Cash at end of period, including discontinued operations 19,107 9,322
Supplemental disclosure of cash flow information:    
Cash paid for interest 2,437 3,861
Cash paid for income taxes 69 896
Purchases of property and equipment in accounts payable $ 374 $ 2,451