quizzes function is working in progress