XML 49 R36.htm IDEA: XBRL DOCUMENT
v3.20.4

PROPERTY AND EQUIPMENT (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2020
PROPERTY AND EQUIPMENT |
Schedule of property and equipment | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | ​ | As of December 31,
​ |  | ​ | 2020 |  | 2019
​ | ​ | ​ | (in thousands)
Machinery and equipment | ​ | ​ | $ | 596,441 | ​ | $ | 659,835
Buildings and leasehold improvements | ​ | ​ |  | 93,236 | ​ |  | 97,426
Pipelines | ​ | ​ | ​ | 72,458 | ​ | ​ | 69,327
Disposal wells | ​ | ​ |  | 48,097 | ​ |  | 64,149
Vehicles and equipment | ​ | ​ |  | 30,975 | ​ |  | 53,819
Land | ​ | ​ | ​ | 13,497 | ​ | ​ | 16,030
Computer equipment and software | ​ | ​ | ​ | 7,127 | ​ | ​ | 8,051
Office furniture and equipment | ​ | ​ |  | 892 | ​ |  | 1,157
Machinery and equipment - finance lease | ​ | ​ |  | 537 | ​ |  | 162
Vehicles and equipment - finance lease | ​ | ​ |  | 475 | ​ |  | 1,291
Computer equipment and software - finance lease | ​ | ​ |  | 356 | ​ |  | 356
Other | ​ | ​ | ​ | — | ​ | ​ | 497
Construction in progress | ​ | ​ |  | 14,811 | ​ |  | 43,279
​ | ​ | ​ |  | 878,902 | ​ |  | 1,015,379
Less accumulated depreciation(1) | ​ | ​ |  | (528,537) | ​ |  | (562,986)
Property and equipment held-for-sale, net | ​ | ​ | ​ | — | ​ | ​ | 885
Total property and equipment, net | ​ | ​ | $ | 350,365 | ​ | $ | 453,278
| (1) | Includes $1.1 million and $1.6 million of accumulated depreciation related to finance leases as of December 31, 2020 and December 31, 2019, respectively.
Schedule of amortization of intangible assets | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Year ended December 31,
​ |  | 2020 | ​ | 2019 |  | 2018
​ | ​ | (in thousands)
Category | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Depreciation expense from property and equipment | ​ | $ | 89,848 | ​ | $ | 107,738 | ​ | $ | 119,114
Amortization expense from finance leases | ​ | ​ | 314 | ​ | ​ | 916 | ​ | ​ | 1,314
Amortization expense from intangible assets | ​ | ​ | 11,661 | ​ | ​ | 11,900 | ​ | ​ | 13,102
Accretion expense from asset retirement obligations | ​ | ​ | (151) | ​ | ​ | 115 | ​ | ​ | 183
Total depreciation and amortization | ​ | $ | 101,672 | ​ | $ | 120,669 | ​ | $ | 133,713

X
- References No definition available. + Details
Name: | us-gaap_PropertyPlantAndEquipmentAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(13)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229 + Details
Name: | us-gaap_PropertyPlantAndEquipmentTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of assets, excluding financial assets and goodwill, lacking physical substance with a finite life, by either major class or business segment. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275 + Details
Name: | us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration