add some printing to mpi example