made input pin constant