better generation of output mp# name