add the delete method