| Changes in the carrying amount of goodwill by segment |
Changes in the carrying amount of goodwill for the years ended December 31, 2023 and 2022, by segment, were as follows, in thousands: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Accumulated | | | | | | Gross Goodwill | | | | FX Translation | | Gross Goodwill | | Impairment | | Net Goodwill | | | December 31, 2022 | | Additions/Disposals | | Adjustment | | December 31, 2023 | | Losses | | December 31, 2023 | Goodwill, by segment: | | | | | | | | | | | | | | | | | | | Installation | | $ | 1,826,979 | | $ | 74,181 | | $ | - | | $ | 1,901,160 | | $ | (762,021) | | $ | 1,139,139 | Specialty Distribution | | | 902,036 | | | - | | | 1,393 | | | 903,429 | | | - | | | 903,429 | Total goodwill | | $ | 2,729,015 | | $ | 74,181 | | $ | 1,393 | | $ | 2,804,589 | | $ | (762,021) | | $ | 2,042,568 |
| | | | | | | | | | | | | Accumulated | | | | | | Gross Goodwill | | | | FX Translation | | Gross Goodwill | | Impairment | | Net Goodwill | | | December 31, 2021 | | Additions | | Adjustment | | December 31, 2022 | | Losses | | December 31, 2022 | Goodwill, by segment: | | | | | | | | | | | | | | | | | | | Installation | | $ | 1,818,872 | | $ | 8,107 | | $ | - | | $ | 1,826,979 | | $ | (762,021) | | $ | 1,064,958 | Specialty Distribution | | | 892,912 | | | 10,585 | | | (1,461) | | | 902,036 | | | - | | | 902,036 | Total goodwill | | $ | 2,711,784 | | $ | 18,692 | | $ | (1,461) | | $ | 2,729,015 | | $ | (762,021) | | $ | 1,966,994 |
|
| Schedule of other intangible assets |
The following table sets forth our other intangible assets, in thousands: | | | | | | | | | | | | As of December 31, | | | 2023 | | 2022 | | 2021 | Gross definite-lived intangible assets | | $ | 827,793 | | $ | 782,316 | | $ | 783,843 | Accumulated amortization | | | (236,735) | | | (167,349) | | | (99,634) | Other intangible assets, net | | $ | 591,058 | | $ | 614,967 | | $ | 684,209 | | | | | | | | | | | Amortization expense | | $ | 69,139 | | $ | 67,620 | | $ | 36,501 |
|
| Schedule of other intangible assets |
The following table sets forth a detail of our intangible assets as of December 31, 2023, in thousands: | | | | | | | | | | | | | | | | | | Gross Definite-Lived Intangible Assets | | Accumulated Amortization | | Net Definite-Lived Intangible Assets | Trademarks | | | | | $ | 46,775 | | $ | (18,951) | | $ | 27,824 | Customer relationships | | | | | | 773,099 | | | (210,029) | | | 563,070 | Non-compete | | | | | | 7,919 | | | (7,755) | | | 164 | Total | | | | | $ | 827,793 | | $ | (236,735) | | $ | 591,058 |
The following table sets forth a detail of our intangible assets as of December 31, 2022, in thousands: | | | | | | | | | | | | | | | | | | Gross Definite-Lived Intangible Assets | | Accumulated Amortization | | Net Definite-Lived Intangible Assets | Trademarks | | | | | $ | 44,047 | | $ | (13,513) | | $ | 30,534 | Customer relationships | | | | | | 730,550 | | | (146,192) | | | 584,358 | Non-compete | | | | | | 7,719 | | | (7,644) | | | 75 | Total | | | | | $ | 782,316 | | $ | (167,349) | | $ | 614,967 |
|