implemented question answering