add the message format and database design