did some tag api stuff