working functions.php and base.php