slight refactor to use a default Hash value