prepare selector