change to selections
Change to popovers function