added template.php