changed to duration max