making sure matches are exhaustive