generating the new menu