to share code beetwen MM and CMM