extend function.menu.php