added general transformation polynomials