changed messages to divs