add quiz function