created comparators
created comparator