Finalize tag functionality