overwrite the menu to dynamically create the menu