on Writer’s Digest:

When you register for a personal development class, the transformation begins immediately. It’s as if your commitment—putting money down and scheduling the time on your calendar—starts your mind working toward bettering yourself.
When you decide to take on a 30-day writing challenge, like National Nonfiction Writing Month (NaNonFiWriMo)—the Write Nonfiction in November Challenge—or during National Novel Writing Month (NaNoWriMo), a similar thing happens. Your mind begins working on your book project. Even when you aren’t writing, you are thinking about your book. You unconsciously mull over problems in structure or content and find solutions. ou may even notice yourself mentally writing sentences and paragraphs long before the book-in-a-month program begins.
Despite that preparation, if you want to start and finish the first draft of your nonfiction book—or even your novel—in a month, it’s best intentionally to spend time preparing for the event.
