Thus, to produce happy and productive dreams one needs to be active mentally and physically during waking hours. Whatever memories we make during daytime are reflected in our dreams, including prophetic dreams. Probably solution dreams of great inventors also came because of the very active prepared mind during waking hours.