handling pseudoSelectors