creating the message model