Add maxSets param