well, just point out just one little tricky bit for this that you haven't seen before that most of you probably all ready now, but i'll just mention is that since phi here is a multinomial distribution when you take this formula and you maximize it with respect to phi you actually have an additional constraint, right?