proper styling of messages