Working on comparator.