added repartition controller