integrated the optimization technique