print messages.