public City getCityByName(String inCityName) {
        City tempCity = null;
        for (City city: db.getCityList()){
            if (city.getCityName().equals(inCityName)){
                return city;
            }
        }
        return tempCity;
    }