Score compare refactoring