added answerquery class