Removed unnecessary comparator