refactored to use MealItems instead of depending directly on Java List.