Chimpanzees are the closest living relatives of humans, and we share a number of amazing similarities with them.

Like all humans, chimps have the ability to learn how to play with toys, learns new words, identify themselves in the mirror, and even enjoy some level of privacy. Research suggests that chimps also have the appetite for a cooked meal like human beings do.

A study, published Tuesday in Proceedings of the Royal Academy B, shows that chimps have the brainpower to learn to cook.

Even though these intelligent apes have not mastered the making of fire, they were able to cook raw food when they were presented with an oven-like device. This test was carried out at a Chimpanzee sanctuary in the Republic of Congo

“Chimpanzees preferred cooked foods over raw foods and were even willing to pay greater temporal costs in order to acquire cooked foods,” the study says. “Chimpanzees further exhibited self-control by giving up food in their own possession in order to transform it by placing it in a novel cooking device.”

Interestingly, the apes saved their raw food in hopes of cooking it at a future time.

“To our knowledge, this is the first evidence that apes can plan for the future by saving food for future transformation,” the study also says.