duration instead of interval