modification newTemplate