worked on MainMenu to make subclass to Menu