Added polinomial method