print message in console