Added hidden setBonusPoints() function