added some debug statements when making History for Eles weird bug