new views selection code