One step ahead of smart cities