plant and controller will run without delay but it's hard for the terminal to write fast enough, so I've left in a 1 millisecond delay