removed range function same as d3.range