finished inversion step