re-use same hash class for all add operations