cleaned up the console output