added timing, before changing to iterable to set