can now call adjust_indices after index