mpi stuff added