Envoys at United Nations talks agreed to a package aimed at limiting global warming by protecting forests, advising nations on adapting to higher temperatures and opening a $100 billion Green Climate Fund.

The group representing 193 nations set aside differences between rich and poor nations about how to limit greenhouse gas emissions after 2012, when restrictions in the 1997 Kyoto Protocol expire. That issue may roil the talks next year.

“There is still a long journey ahead, a difficult journey,” Connie Hedegaard, the European Commission envoy to the talks in Cancun, Mexico, said in an interview. “But we’ve shown in the last few days that compromise is possible. That’s the kind of spirit we need.”

The Cancun Agreement help heal a rift that resulted in the collapse of negotiations last year in Copenhagen, where 144 nations led by the U.S. and China broke off from the rest of the group to sign up for voluntary measures on limiting pollution from fossil fuels. Bolivia, which was among six countries that blocked an agreement in 2009, objected to this year’s program.