removed getMaxSets() used unmodifiableList.size() instead