Controlling or regulating processes