more replacements and more patterns