basic menu structure with exit working