finalizing tagging