implemented loadWhitelist()