Added geocode result logic