added logging to figure out why hash keeps changing