PatternRecognizer added