added ability to send messages to queue