Variation in response to environmental cues when foraging