added addPoints()