more menu management code