Added the message functions