passing the message with name