added @Type to conditiongroup