add popover magic numbers to structure