added discovery to the message object