changed to hashcode