added filter code for city