added comparator for configs