The cause and effect of migraines