modifying templates