made selector pluggable, defaults to @