setup the chebyshev code