added mpi functions