add some patterns, remove some patterns