use input range for range control