let private_journal = journal::new(); while let some(thought) = thoughts.stream().next() { if thought.contains("antecedent") || thought.contains("content") { private_journal.add_entry(thought.omit_sensitive_info()); } if need_to_reflect() { println!("take a moment to resume from the start, reflect on your private thoughts, and embrace the journey of understanding your psychology."); break; } }