Use new sendMessage() function