Tweaked multiple sweep example