refactor and add slider
merged