XML 24 R9.htm IDEA: XBRL DOCUMENT v3.10.0.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Cash flows from operating activities:    
Net loss $ (21,866) $ (9,070)
Reconciliation of net loss to net cash used in operating activities    
Depreciation and amortization of fixed assets 1,703 1,264
Provision for bad debt expense 601 1,738
Provision for write down of inventory 844 1,489
Issuance of stock to consulant 102 0
Stock based compensation 1,572 2,427
Amortization of debt issuance costs 727 695
Amortization of intangible assets 2,302 2,143
Foreign currency exchange loss (gain) 2,071 (6,645)
Partial extinguishment of Convertible 3.75% Senior Notes 2,467 0
Amortization of debt discount 6,353 6,376
Gain on sale of fixed assets (20) 0
Loss on impairment of intangible assets 22 113
Changes in operating assets and liabilities    
Accounts receivable (4,587) (2,491)
Inventories (2,746) (2,767)
Prepaid expenses and other current receivables 2,081 510
Other assets 4 21
Accounts payable and accrued expenses (6,944) 1,537
Net cash used in operating activities (15,314) (2,660)
Cash flows from investing activities:    
Capital expenditures (18,315) (26,002)
Proceeds from sale of fixed assets 38 0
Net cash used in investing activities (18,277) (26,002)
Cash flows from financing activities:    
Proceeds from exercise of common stock options 246 269
Proceeds from 2021 Term Loan 25,000 0
Debt fees on Convertible 4.75% Senior Notes and 2021 Term Loan (2,539) 0
Net cash provided by financing activities 22,707 269
Effect of exchange rate on cash and cash equivalents (542) 618
Net decrease in cash, cash equivalents and restricted cash (10,884) (28,393)
Cash, cash equivalents and restricted cash at beginning of period 27,165 66,481
Cash, cash equivalents and restricted cash at end of period 15,739 38,706
Supplemental Cash flow information:    
Cash payments for interest 3,136 2,695
Cash payments for income taxes 66 102
Non-cash operating, investing and financing transactions:    
Acquisition of capital expenditures in accounts payable and accrued expenses 1,316 5,029
Issuance of stock to a consultant 102 0
Capitalized interest in capital expenditures 2,013 1,058
Capitalized stock compensation in capital expenditures $ 82 $ 101