How a dog helped a monkey