change the pattern