messages displaying properly