added log statement