layout, added diode