Added separate methods to display each type of messages.