makes match and nomatch protected