patterncode 1