added filter for citys and did it with a prepared statement