debugging match and no-match stuff