add function to question, answer manager