refactoring constants