add time accept logic