New: patternrecognition