first part of mpiP parsing