Created an inverter