modify price logic