todo add the code for left right velocities