added grouped tagging