Implementing Relay schematic.