New funtions in functions.php and updated index.php