XML 51 R7.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2019
Jun. 30, 2018
Cash flows from operating activities:    
Net loss $ (1,546) $ (18,232)
Adjustments to reconcile net loss to net cash provided by (used) in operating activities:    
Depreciation and amortization 6,814 4,868
Tax credits used to offset production taxes 1,094 0
Reserve for potential tax credits monetization 0 1,700
Reserve for doubtful accounts 919 135
Equity-based compensation cost 2,399 2,641
Gain on disposal of property and equipment (661) (185)
Amortization of loan issuance costs and debt discounts 1,865 1,901
Gain on debt extinguishment 0 (53)
Unrealized (gain) loss on foreign currency transactions (607) 2,131
Deferred taxes 2,023 62
Changes in operating assets and liabilities (1,506) (5,531)
Net cash provided by (used in) operating activities 10,794 (10,563)
Cash flows from investing activities:    
Purchase of property and equipment (598) (703)
Proceeds from sale of property and equipment 674 193
Net cash provided by (used in) investing activities 76 (510)
Cash flows from financing activities:    
Long-term debt and finance lease repayments (428) (995)
Long-term debt borrowings 9,666 15,000
Proceeds from issuance of common stock 100 0
Stock issuance costs 0 (1,712)
Purchase of treasury stock (366) (175)
Distribution to noncontrolling interest (1,500) 0
Net cash provided by financing activities 7,472 12,118
Effect of exchange rate changes on cash, cash equivalents and restricted cash 2 (183)
Net change in cash, cash equivalents and restricted cash 18,344 862
Cash, cash equivalents and restricted cash at the beginning of year 7,850 3,734
Cash, cash equivalents and restricted cash at the end of period $ 26,194 $ 4,596