patterncode 3