added functionality to answer to questions