created sub function getRandomCity