added support for adding menu items