add loglikelihood