Updated  version for MainMenu