added new method to Menu class