combine into generateMn