add whitelist functions