a simple selector engine with qS/qSA shims