remove getWhitelist method