patternmem
