Migraines are the actual worst. Take it from someone who’s had them her entire life (me). There are so many possible triggers for these awful headaches that it’s hard to pinpoint what might actually be the culprit at any given time. But science has found a surprising potential cause for our dreaded migraines.

In a new study published in the October 18th issue of the journal mSystems, researchers analyzed 172 oral samples and almost 2,000 fecal samples (yes, fecal!). They found migraine sufferers might harbor more bacteria in their mouths. So what exactly does this mean?

The bacterias are also found in some medications, so it’s hard to tell which is the real trigger. Some people are just naturally prone to harbor more bacteria than others.

The study states:

We can only hope someone studies up on it more so we can be rid of migraines entirely. So what should you do if you suspect nitrates might be giving you a headache? One study co-author says to avoid the foods that have nitrates and see if there’s an improvement. At this point, if you’ve tried other methods without success, it’s worth a shot!