refactoring PAIRS constant