Added maximum duration to dash