quiz logic - done