refactor ConsoleOutput methods