Updated anti-roll code (again)