add messages to the console