Added a function to delete multiple items