added singleton pattern and quizzes