connecting inverter