adds conditional views