Improved the console output