added log keyword