added a hashCode calculator next to every equals