Added question-answering code