added the message levels to the view