optimized menu builder