add docs for selector