added maxpoints
solved