The effect of dreaming is working out problems.