Add progress on pattern_matching