Even when faced with distractions, monkeys are able to consistently choose the path of greatest reward, according to a new study. The study adds to the growing evidence that animal foraging behavior can approach optimality, and could provide a basis for understanding the computations involved in this and related tasks.