start tagging functionality