implementing menu and networking