added log restriction