moved to checkAnswer