made energy recording a little more resilient to failure