typing the Selector