added log statment