add function of answer time