add duration.