the diagram shows how to wire up an invertor