member to hash class