fungerende setDuration