refactored the method for the location search
created a method for the cities. We decided to stay with the older version, because this one is dirty in terms of result return