function getSelector OK