extracted ConsoleRunner