added the delete feature