Enclosing functions in menus: not sure it works