added log lib