The nurse understands that the most vivid dreaming occurs during: