Controlling with a potentiometer. RC