ConditionSet class clarifies code