old odometry code commented out