Add processCondition