replaced partitioner with RangePartitioner