add maximum likelihood