simply by connecting two diodes