added log debug