completed equality - fixed comparator