Eliminating the need of capacitors and zener diodes