simplify the comparison