selector functionality