Added potentiometer stuff