change comparator