added convenience comparator wrapper