Add changed energy, fix #7