prepare for tagging