menu is function generated.