specs for comparator operator