implemented untested consoleinterface