Added second slider, proc for curve formula