the delete item method is working now