digitalRead is functioning