implementing selector specificity methods