add setters for Range and Interval