Formatting the console output