Use aRange(s) as name for AddressRange(s) variables
Rename eligible to isCreditEligible
Give function a better name
Add XXX comments for the remaining issues