pattern duplication