merged ConsoleHelper