added pin 34 to input monitoring