allow more than two arguments in comparators