created popover class