reduce the comparisons of member