Slider object example