Code the city event matcher