working on polynomial.go