adding log reg