| Successo r | Predecesso r | |||||||||||||||
| Year Ended December 31 , | On January 1 , | Years Ended December 31 , | ||||||||||||||
| 201 7 | 201 7 | 201 6 | 201 5 | |||||||||||||
| Current provision : | ||||||||||||||||
| Federa l | $ | (8,475 | ) | $ | — | $ | 2,047 | $ | (23,784 | ) | ||||||
| Stat e | (162 | ) | — | (1,588 | ) | (2,265 | ) | |||||||||
| Foreig n | 121 | — | 64 | 100 | ||||||||||||
| Total current provisio n | (8,516 | ) | — | 523 | (25,949 | ) | ||||||||||
| Deferred (benefit) provision : | ||||||||||||||||
| Federa l | (28,950 | ) | (4,613 | ) | (122,302 | ) | (248,279 | ) | ||||||||
| Stat e | (2,294 | ) | — | (8,864 | ) | (20,553 | ) | |||||||||
| Foreig n | — | — | 1,633 | (4,312 | ) | |||||||||||
| Total deferred provisio n | (31,244 | ) | (4,613 | ) | (129,533 | ) | (273,144 | ) | ||||||||
| Provision for income taxe s | $ | (39,760 | ) | $ | (4,613 | ) | $ | (129,010 | ) | $ | (299,093 | ) | ||||
| Successor | Predecessor | |||||||||||
| Years Ended December 31, | ||||||||||||
| 2017 | 2016 | 2015 | ||||||||||
| Federal statutory rate | 35.0 | % | 35.0 | % | 35.0 | % | ||||||
| State taxes, net of federal benefit | 8.0 | % | 0.3 | % | 1.4 | % | ||||||
| Domestic production activities deduction | — | % | — | % | (0.2 | )% | ||||||
| Effect of foreign losses | 9.8 | % | (2.0 | )% | (0.3 | )% | ||||||
| Impairment | — | % | (8.8 | )% | (9.8 | )% | ||||||
| Changes in uncertain tax positions | 37.7 | % | (0.6 | )% | — | % | ||||||
| Effects of the plan of reorganization | 1,114.9 | % | (1.3 | )% | — | % | ||||||
| Valuation allowance | (959.3 | )% | (10.9 | )% | — | % | ||||||
| Other | 16.3 | % | 0.3 | % | (0.6 | )% | ||||||
| Effective income tax rate | 229.8 | % | 12.0 | % | 25.5 | % | ||||||
| Successor | Predecessor | |||||||
| As of December 31, | ||||||||
| 2017 | 2016 | |||||||
| Deferred tax assets: | ||||||||
| Accrued liabilities | $ | 2,100 | $ | 25,470 | ||||
| Allowance for doubtful accounts | 1,791 | 2,630 | ||||||
| Stock-based compensation | 2,570 | 11,530 | ||||||
| Inventory reserve | 1,883 | 9,131 | ||||||
| Net operating losses | 276,239 | 231,360 | ||||||
| 163j interest limitation | 41,342 | 58,426 | ||||||
| Amortization of goodwill and intangible assets | 4,101 | 4,526 | ||||||
| Other | 4,379 | 3,774 | ||||||
| Total deferred tax assets | 334,405 | 346,847 | ||||||
| Deferred tax liabilities: | ||||||||
| Prepaid Assets | (4,438 | ) | (2,123 | ) | ||||
| Depreciation on property, plant and equipment | (37,784 | ) | (179,428 | ) | ||||
| Other | (643 | ) | (3,873 | ) | ||||
| Total deferred tax liabilities | (42,865 | ) | (185,424 | ) | ||||
| Valuation allowances | (295,457 | ) | (171,016 | ) | ||||
| Net deferred tax liability | $ | (3,917 | ) | $ | (9,593 | ) | ||
| Successor | Predecessor | |||||||
| Years Ended December 31, | ||||||||
| 2017 | 2016 | |||||||
| Balance at beginning of year | $ | 6,525 | $ | — | ||||
| Additions based on tax positions related to the current year | — | 6,525 | ||||||
| Reductions for tax positions of prior years | (6,525 | ) | — | |||||
| Balance at end of year | $ | — | $ | 6,525 | ||||