inversion almost works