added log interface