condition included in answergroups controller