extend slider function
temp test