refactoring: use menu inflation