A simple selector engine