i changed it to this when i moved hashcode from Array to List but I can't remember why