added slider for rate