old code removed
trying to fix a bug with rotation of sweepers