Updated Functions.php