rudimentary support for custom menus