total-pattern