INVERTER WORKING