changed to use unserialized attempt data instead of question->allquestions