To help the brain cool down, researchers outfitted 12 primary insomnia patients with a temperature-controlled cap that has cool water flowing through it and recruited 12 healthy controls matched for age and gender. (Primary insomnia means that medical problems, medicines, or other substances have been ruled out as a cause of sleep difficulties.