move logic that determines to geocode on 'to' out of geocode_to_location and into it's own method, add a condition to the callback