added basic support for detecting selectors