added  two diode