initial commit patternlock