Finished code to add new message
Merging