match patterns order with match order
updated screenshots