simplify comparison