added subsets with dups sol