selector api