How the smart cities operate