make constant comparator final