Refactored answerQuestion