implement inversion?