Because you can apparently fund basically anything these days, a study out of Western Washington University has found that anagrams are the best way to get a song unstuck from your head.

Dr. Ira Hyman says the key is finding the right level of exercise for your brain. He calls it the “Goldilocks effect,” telling the Telegraph that something as simple as walking means you’re not using all of your “cognitive resource,” but something too tricky, like a hard Sudoku puzzle, won’t engage your brain fully, allowing the music to come back.

“It can’t be too easy and it can’t be too hard, it has got to be just right,” he says, suggesting novels as another method of clearing a track from your memory.

“Choruses tend to get stuck in your head because they are the bit we know best and because we don’t know the second or third verse, the song remains unfinished,” said Hyman. “Unfinished thoughts are more likely to return.”

The study found that songs like Lady Gaga’s “Bad Romance,” “Single Ladies” by Beyoncé and “I Wanna Hold Your Hand” by the Beatles are likely to get stuck in your head.

Recommended Videos: