Owen woke up in the middle of the night because he was having a bad dream. He dreamt that he was being chased by a low-flying helicopter, and when he realized he was dreaming this, he decided to stop running. Owen's awareness that he was dreaming indicates he was having a(n):