add support for sending messages