added log snippet