Added tagging function and tag list