trying to set duration flag