modified servo sweep from Mark DeLoura