mmg PI mapping stuff