Refactoring processing numbers.