how does one compare object?