add and arrange the pattern filter