modified QuizController