added addCondition