getting the message value