adding Comparator