add city hash functions