added diodes