added slider for cap value to client