added getParrentCities and copyCities function