implementing answer and survey answer