Added ability to write new message