add deletion and inversion. (inversion failed)