update for new API comparators