new feature:delete by index