diode sourcing