removed rquadulate function into parameter of quadulate