add whitelist and blacklist to model