a simple matching interface