Adding a way to add functions in the menu