add last-selector
add the compile selectors fun