XML 23 R9.htm IDEA: XBRL DOCUMENT v3.10.0.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Cash flows from operating activities:    
Net loss $ (17,921) $ (88)
Reconciliation of net loss to net cash used in operating activities    
Depreciation and amortization of fixed assets 1,133 822
Provision for bad debt expense 811 26
Provision for write down of inventory 1,154 918
Stock based compensation 1,103 1,739
Amortization of debt issuance costs 505 456
Amortization of intangible assets 1,550 1,396
Foreign currency exchange loss (gain) 1,895 (4,901)
Partial extinguishment of Convertible 3.75% Senior Notes 2,467 0
Amortization of debt discount 4,422 4,183
Loss on impairment of intangible assets 22 0
Changes in operating assets and liabilities    
Accounts receivable (4,227) (4,008)
Inventories (2,816) (2,554)
Prepaid expenses and other current receivables 1,443 (208)
Other assets 35 20
Accounts payable and accrued expenses (4,086) 892
Net cash used in operating activities (12,510) (1,307)
Cash flows from investing activities:    
Capital expenditures (12,523) (15,286)
Net cash used in investing activities (12,523) (15,286)
Cash flows from financing activities:    
Proceeds from exercise of common stock options 12 267
Proceeds from 2021 Term Loan 15,000 0
Debt fees on Convertible 4.75% Senior Notes and 2021 Term Loan (2,457) 0
Net cash provided by financing activities 12,555 267
Effect of exchange rate on cash and cash equivalents (540) 536
Net decrease in cash, cash equivalents and restricted cash (12,478) (16,326)
Cash, cash equivalents and restricted cash at beginning of period 27,165 66,481
Cash, cash equivalents and restricted cash at end of period 14,147 50,691
Supplemental Cash flow information:    
Cash payments for interest 2,475 2,695
Cash payments for income taxes 48 93
Non cash operating, investing and financing transactions:    
Acquisition of capital expenditures in accounts payable and accrued expenses 3,042 4,260
Capitalized interest in capital expenditures 477 0
Capitalized stock compensation in capital expenditures $ 63 $ 66