streamline the monitor-menu-population code 2