added foraging behaviour