work on likelihood optimization