updated functions.php file