include type in msg