Refactoring: Extract light logic