Comparator improved