added log reg