Cure for migraine found