Now can set duration interval, not max value.