add menu item on main menu
code generation