Before I start writing, before I have an idea of where and...
Before I start writing, before I have an idea of where and when the story happens, I research it thoroughly.
Before I start writing, before I have an idea of where and when the story happens, I research it thoroughly.