changes to register timeTaken and selectedAnswers