M: add add_slider method