paterns for edits

by @Lotte

Lotte