Change method comparePairsOperators