added city-reached function