add base for creating a message to add to xml