Comparator implementation started