need to redo db calls for quiz