wrking out polynomial issues