added code for knob potentiometer