add max likelihood