use built-in set instead of the sets module