implemented tagging