more changes on main menu using the struct