pass in selector