The Food and Drug Administration has approved a device for people with epilepsy.
The device is called the Neuropace System. It detects patterns in the brain and then sends out tiny electrical impulses to stop a seizure before it starts.
The FDA has approved the device for patients who don't respond to medication.
Neurologist Christi Heck says it's not a complete cure, but it can reduce the frequency and severity of seizures.
"That has made a big difference in terms of their safety and their ability to go and get out of their homes and participate in life," says Dr. Heck.
Allison Adams is using the device. She uses a special laptop and wand to collect data from the device. Her doctor can use the information to tweak the device remotely, if necessary.
"Now there's a hope," says Adams. "There's technology that will give you a future."
Possible side effects of the Neuropace System include infection at the site of the implant. Some patients have also reported seeing flashes of light.