init many patterns
doc edit