added facet.isSelected() method