points management refactoring