finished template index.php