That’s called neuroplasticity by the way. Even if I expose myself to a lot of strange and weird phenomenon during the day, as long as I get eight hours of sleep I can process all those different ideas without passing judgment to it during the day and emerge from the sleep a more integrated, holistic vision.