Created addMessage()