add discretelikelihood