create selector if not passed