adding mpi main