added log methods to the console