rm unused hashCode and equals methods