added comparator cfg