adding the hashcode example