updated functions.php