changes in comparator