added log likelihood