mpi implementation correct and formatted