adding AlignedPatternModel