using random partitioner