added log staging