member functions to make comparisons with all