Too much caffeine can keep you up at night, but coffee may have the power to lull you to sleep—as long as you inhale its aroma.

A team of international researchers found that the scent of roasted coffee beans calmed stressed and sleep-deprived rats. Their research was published in the Journal of Agricultural and Food Chemistry.

“The results of this study allowed us to improve our knowledge involved in relationships among coffee bean aroma, brain function and stress via sleep deprivation,” the authors write.

Further studies are needed to identify the compounds responsible for initiating a relaxation response.

In the meantime, pour yourself a cup of organic coffee and inhale deeply!