move php to functions.php