add comments to method work_with_tags