Refactor - Extracted Score logic