implemented public-facing component for quiz 1 & 2