edit patterns
merge