record the tag