operator == more accurate