consider other document for selector