added log layer