working on mpi reader