moved whitelist to constant for more speed