added log traces