adding hash class