what is the method of sets?