preparation for tagging