Created Subset class