change in the comparator for derivative Attributes