menu and cleanup