patter modify