Fix to logging
Initial try at derived inverter