refactored the PostalCodes class to fix scoping issues.