some quiz functions