stub for comparator