added judgement for the balancing's quality