Completed the delete feature