Began deleting tags function