energy change check added