refactored menu populator