Adding resetConsole method