add new comparator functions