start and end quiz logic