SMS: Foraging theory