The Miami Dolphins and tight end Julius Thomas agreed to a restructuring of the player’s contract that will eliminate $12.6 million, according to the Sun-Sentinel.

The move changes Thomas’ deal into what is basically a two-year agreement worth $12.2 million that will include a guarantee of $7.5 million for the 28 year old.

Thomas will earn $5.5 million in base salary this year, all of which is fully guaranteed, and is scheduled to earn $6.5 million in salary next season, including a guarantee of $2 million.

Prior to reworking his contract, Thomas brought a cap hit of $8.6 million for the coming season and was guaranteed $3 million of a $7.1 million salary. He was to earn $8.6 million next season and $9 million in 2019. Thomas’ salary fell $1.5 million this season, will fall by $2.1 million in 2018, and will no longer collect $9 million in ‘19.

In the five-year, $46 million pact he signed with Jacksonville two years ago, Thomas was slated to make a full guarantee of $24 million, a number that inflates to $28.5 million over four seasons as a result of these changes.

Thomas joined the Dolphins organization when the league year began as a result of a trade with Jacksonville that handed Miami’s seventh-round selection in this year’s draft to the Jaguars in exchange for the veteran tight end.