added disjoint sets