add repeated support for message type