| Schedule of Financial Metrics by Segment |
The following table represents financial metrics by segment (in thousands): | | | | | | | | | | | | | | | | | | | Contract Services | | Other Services | | Total | | Three Months Ended June 30, 2024 | | | | | | | Revenue | $ | 276,250 | | | $ | 33,403 | | | $ | 309,653 | | | Gross margin | 107,454 | | | 5,467 | | | 112,921 | | | Total assets | 4,405,861 | | | 33,419 | | | 4,439,280 | | | Capital expenditures | 117,033 | | | — | | | 117,033 | | | Three Months Ended June 30, 2023 | | | | | | | Revenue | $ | 181,619 | | | $ | 21,687 | | | $ | 203,306 | | | Gross margin | 71,172 | | | 3,588 | | | 74,760 | | | Total assets | 3,219,556 | | | 41,807 | | | 3,261,363 | | | Capital expenditures | 45,453 | | | — | | | 45,453 | |
| | | | | | | | | | | | | | | | | | | Contract Services | | Other Services | | Total | | Six Months Ended June 30, 2024 | | | | | | | Revenue | $ | 469,649 | | | $ | 55,496 | | | $ | 525,145 | | | Gross margin | 188,027 | | | 9,876 | | | 197,903 | | | Total assets | 4,405,861 | | | 33,419 | | | 4,439,280 | | | Capital expenditures | 177,186 | | | — | | | 177,186 | | | Six Months Ended June 30, 2023 | | | | | | | Revenue | $ | 359,316 | | | $ | 34,102 | | | $ | 393,418 | | | Gross margin | 141,202 | | | 7,015 | | | 148,217 | | | Total assets | 3,219,556 | | | 41,807 | | | 3,261,363 | | | Capital expenditures | 94,034 | | | — | | | 94,034 | |
|
| Schedule of Total Gross Margin to Income Before Income Taxes |
The following table reconciles total gross margin to income before income taxes (in thousands): | | | | | | | | | | | | | | | | | | | | | | | | | Three Months Ended June 30, | | Six Months Ended June 30, | | 2024 | | 2023 | | 2024 | | 2023 | | Total gross margin | $ | 112,921 | | | $ | 74,760 | | | $ | 197,903 | | | $ | 148,217 | | | Selling, general and administrative expenses | (59,927) | | | (13,438) | | | (84,751) | | | (26,523) | | | Gain on sale of property, plant and equipment | 1,173 | | | 738 | | | 1,173 | | | 721 | | | Interest expense, net | (52,133) | | | (73,658) | | | (91,873) | | | (142,320) | | | Gain on derivatives | 6,797 | | | 34,934 | | | 26,554 | | | 26,939 | | | Other income | 218 | | | 32 | | | 150 | | | 1 | | | Income before income taxes | $ | 9,049 | | | $ | 23,368 | | | $ | 49,156 | | | $ | 7,035 | | | | | | | | | |
|