cleaned up the console