Getty Images She's in pain and not holding back on the cursing.

You know that time you stubbed your toe and the blinding pain caused you to shout a string of choice words that would make your mother cringe? Turns out you weren’t being rude — you were easing the pain.

Researchers at Keele University in the UK have found that swearing can have a painkilling power, especially for people that don’t regularly curse. To test their theory, Dr. Richard Stephens and other scientists conducted an experiment with student volunteers. The students were asked to submerge their arms into a bucket of icy water, while repeatedly uttering a swear word. (It’s not clear what the specific swear word was, but we’re naturally assuming the worst.) They then repeated the experiment, while repeating a “harmless” word rather than a swear.

(More on TIME.com: See our report on chronic pain)

The results showed that volunteers were able to keep their arms in the icy water longer when they were swearing than they could when they were uttering the harmless word. According to the scientists, these results demonstrate the link between swearing and an increase in tolerance to pain. It should also be noted that for the volunteers who weren’t habitual swearers, swearing was four times more likely to ease the pain caused by the icy water.

(More on TIME.com: See the top 10 medical missteps)

Why does this painkilling effect kick in when we swear? One theory the researchers are considering, is that swearing — an act of aggression, especially if it’s not a part of your daily vernacular — triggers your fight-or-flight instincts, which can ramp up your tolerance to pain.

(More on TIME.com: See the top 10 celebrity meltdowns)

Of course, if your everyday conversation rivals Christian Bale’s, not only are you ill mannered, but you’re also less likely to experience the soothing effects that a well-timed, but not oft-used, F word can offer. (via Telegraph)

(More on TIME.com: See how lowbrow language got the highbrow dictionary treatment)