Added a menu and function with default parameter