implemented Subset