set up basics of pattern editing