Use a Set for better performance of whitelist