tweaked the console log