added maxPoints field