You can remove this now that you changed the code below to assign a new cartesian to `mid`.