complete ClassMatching