added slider for range