improved mh output format