r1765 + more tag functions