added storeQuizData and checked it