Wrote logic to delete an identified seam