ext

use ext to add more terms (e.g. higher order polynomials) in the future