reply function works for answers and questions.