passed the message in the function