add single pattern