basic inversion