From personal experience the head fogginess is a pretty strong indicator of vitamin D deficiency. I didn't even realize I was deficient until I took 5k IU one night and the next morning felt amazing. The Vitamin D deficiency brain fog is almost worse than a hangover or being high IMO.