foraging and basic plot