Added code to send message