switched from Map to Set