cleaned up functions.php