modified pattern