add polynomials of time into the fitting