How is the set randomzied? I don't see that happening in the implementation.