add whitelist and mode divs