refactored county-lookup