How does Matcher work?