added preference setting (whitelist)