should the `delete` come before the indexation?