new msgmap structure