modify addPoints