set duration option