added tag-loop documentation