adding list of patterns to the list