removed handleMenu