I want to create multiple Menus with their corresponding menu items using a function to avoid repetition of my codes. However, when I try to call the function, it overwrites