If you drink coffee or other drinks with caffeine right before you go to bed, does you then get less REM sleep?
If not, what does caffeine with the dreaming?