changes to template.php