| 2017 | 2016 | 2015 | ||||||||||
| Current taxes: | ||||||||||||
| United States | $ | 3 | $ | 11 | $ | - | ||||||
| Foreign | - | - | - | |||||||||
| State | (16 | ) | 22 | - | ||||||||
| Total current taxes | $ | (13 | ) | $ | 33 | $ | - | |||||
| Deferred taxes: | ||||||||||||
| United States | $ | (8,777 | ) | $ | - | $ | - | |||||
| Foreign | - | - | - | |||||||||
| State | (2,882 | ) | 1,811 | (133 | ) | |||||||
| Total deferred taxes | $ | (11,659 | ) | $ | 1,811 | $ | (133 | ) | ||||
| (Benefit from) provision for income taxes | $ | (11,672 | ) | $ | 1,844 | $ | (133 | ) | ||||
| 2017 | 2016 | |||||||
| Deferred tax assets: | ||||||||
| Depreciation and amortization | $ | 100 | $ | 788 | ||||
| Research & Experimental and Orphan Drug tax credit carry-forwards | 33,496 | 27,361 | ||||||
| NYS investment tax credit carry-forwards | 1,284 | 933 | ||||||
| AMT credit carry-forwards | - | 221 | ||||||
| Net operation loss carry-forwards | 177,313 | 227,171 | ||||||
| Capitalized research and development expenditures | 3,066 | 11,915 | ||||||
| Stock compensation | 5,666 | 12,343 | ||||||
| Other items | 1,279 | 4,513 | ||||||
| Total gross deferred tax assets | 222,204 | 285,245 | ||||||
| Less valuation allowance | (217,382 | ) | (285,245 | ) | ||||
| Deferred tax assets | 4,822 | - | ||||||
| Deferred tax liability | (6,397 | ) | (13,010 | ) | ||||
| Net deferred tax liability | $ | (1,575 | ) | $ | (13,010 | ) | ||
| 2017 | 2016 | 2015 | ||||||||||
| U.S. Federal statutory rate | 34.0 | % | 34.0 | % | 34.0 | % | ||||||
| State income taxes, net of Federal benefit | 1.5 | % | 10.8 | % | 4.8 | % | ||||||
| Foreign rate differential | (0.6% | ) | 2.6 | % | (0.1% | ) | ||||||
| Research and experimental and Orphan Drug tax credit | 9.4 | % | (63.0% | ) | 1.7 | % | ||||||
| Effect of federal and state tax rate changes | (6.1% | ) | (43.0% | ) | (4.8% | ) | ||||||
| Tax reform impact | 13.9 | % | - | - | ||||||||
| Permanent differences | (4.4% | ) | 0.1 | % | (1.4% | ) | ||||||
| Stock option shortfalls | (3.1% | ) | 22.3 | % | (6.1% | ) | ||||||
| Change in valuation allowance | (26.0% | ) | 50.9 | % | (27.8% | ) | ||||||
| Effective tax rate | 18.6 | % | 14.7 | % | 0.3 | % | ||||||
| 2017 | 2016 | |||||||
| Beginning uncertain tax benefits | $ | 2,661 | $ | 2,661 | ||||
| Prior year - increases (decreases) | (710 | ) | - | |||||
| Current year - increases (decreases) | - | - | ||||||
| Settlements | - | - | ||||||
| Expired statuses | - | - | ||||||
| Ending uncertain tax benefits | $ | 1,951 | $ | 2,661 | ||||