copy and replace
Revert "copy and replace"

This reverts commit 5927cdae0bec38dd9a4141efad7ed038ed3deba8.