implemented hasMoreSets