consoleClient added, for testing purpose