This is a mistake in the code
the code for turning on the light doesn't exit. Just ignore the coments about the led.