changes to Subset.java