adde values for potentiometer
changed input so it can receive analog data from potentiometer