implement total points