In an endothermic reaction