implemented message structure