simplifying the comparison