modifying template