num points refactoring 1