added special case solvers for polynomials