changed the way i get the slider values