added some menu management