rework the comparison