working on Chebyshev polynomials