Refactored: unused variable