Comparator. Work in progress.