adding some functions to generate a city list