Regulatory challenges for smart cities