Regulating litigation in the 21st century