made menus dynamic