rename Transformer to Pattern