XML 22 R7.htm IDEA: XBRL DOCUMENT v3.8.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Operating activities:    
Net loss $ (34,934) $ (18,879)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities, net of effect of business acquisitions:    
Depreciation and amortization 3,072 2,778
Gain on sale of marketable securities (12) (189)
Share based compensation expense 147 (116)
Non-cash compensation 437 410
Share based payments 2,227 0
Provision for doubtful accounts 1,068 1,001
Provision for obsolete inventory 8 2,355
Loss (gain) on sales of assets 464 (657)
Deferred income tax (291) 468
Impairment of goodwill and intangible assets 6,719 192
Gain on acquisition of a business 0 (3,625)
Impairment of assets held for sale 0 3,329
Amortization of debt discount 1,161 77
Deferred rent amortization 95 135
Forgiveness of receivable 174 0
Loss on extinguishment of debt 1,904 0
Changes in certain assets and liabilities:    
Accounts receivable 34 (324)
Inventory 1,169 960
Other current assets 924 1,670
Accounts payable (675) 1,761
Related party payables 4,149 1,453
Accrued commissions (1,351) (282)
Accrued liabilities 847 (659)
Deferred revenue 1,429 2
Taxes payable 4,633 (308)
Other liabilities 116 91
Net cash used in operating activities (6,486) (8,357)
Investing activities:    
Capital expenditures (109) (2,147)
Proceeds from the sale of property, plant and equipment 303 936
Purchases of marketable securities (741) (25,236)
Proceeds from sales of marketable securities 5,676 20,913
Proceeds from note receivable 0 68
Deposit of restricted cash collateral 0 (2,951)
Acquisitions, net of cash purchased 0 (2,494)
Net cash provided by (used in) by investing activities 5,129 (10,911)
Financing activities:    
Borrowings on long-term debt 0 7,065
Payments on long-term debt (3,206) (1,109)
Share issuances 0 18,360
Debt issuance costs 0 (515)
Net cash provided by (used in) financing activities (3,206) 23,801
Effect of exchange rate changes on cash and cash equivalents 284 (657)
Increase (decrease) in cash and cash equivalents (4,279) 3,876
Cash and cash equivalents at beginning of year 6,482 2,606
Cash and cash equivalents at end of year 2,203 6,482
Cash paid during the period for:    
Interest 2,871 2,499
Income taxes 738 72
Non-cash transactions:    
Convertible note issued related to acquisition 0 5,547
Stock issued related to acquisition 0 1,719
Stock issued related to debt acquisition $ 0 $ 578