insert mpi into cartRing.c,;