some changes in JetMatching.h