ohh i gotcha I guess i was just mixing up next id and id in my head
When a FoodType object is created, the constructor assigns the current value of nextId to the instance's id, nextId is then incremented by 4.