output messages to display