dup subsets reimpl