Added the delete() method