A new study has shown that caffeine may boost your memory.

The study will be published in the January 13 Nature Neuroscience. The study was conducted by Johns Hopkins University.

Though there are many uses for caffeine, usually coffee, researchers believe they may have found a new use, according to the HUB. The newest use that they have found is as a memory enhancer.

Researchers conducting the study found that giving a person caffeine after they memorized some information made their ability to remember small details better, according to Forbes.

Participants in the study were given pictures to study and then they were given a caffeine pill or a placebo pill. 24 hours after they were given the caffeine, or placebo, the participants were asked to identify the photos that were shown the day before in a new set of photos.

Those placed in the caffeine group were better than those who were given the placebo, making it evident that caffeine may have boosted their memory.

“We’ve always known that caffeine has cognitive-enhancing effects,” said author of the study, Michael Yassa, “but its particular effects on strengthening memories and making them resistant to forgetting has never been examined in detail in humans. We report for the first time a specific effect of caffeine on reducing forgetting over 24 hours.”