diagram for potentiometer was wrong