added inversions