progress on likelihood calculation