Added sendMessage()