city ranking is working properly