Completed some of the quiz code