renamed selector to select