Adding code I used for quiz to sandbox