added log gin