added validation to question