templates modifications