Adding the definition of the required function for the get cat_city