add primitive and polyroots