add duration option