adding likelihood compute