menu::2 added multiple branch func