perturbation algo change