added the MaxPoints problem