quadratic integration added