add hashcode state saving