use raw pointers of tag