add function of rebalancing worker