Added correct inversion