Added pointsAdd function