added pg sliders for thresholds