CONNECTING THE INVERTER