added protection diode