How technology and artificial intelligence can improve regulation