Some patterns replaced