use input range in example